text
stringlengths 0
2.2M
|
|---|
return true;
|
}
|
TemplatePtr TeBkUmMgrRouter::tmplFunc;
|
Ser TeBkUmMgrRouter::m_ser;
|
Ser TeBkUmMgrRouter::w_ser;
|
SerCont TeBkUmMgrRouter::wcont_ser;
|
TeBkUmMgrRouter::TeBkUmMgrRouter() {
|
#ifdef INC_SDORM_MONGO
|
sqli = NULL;
|
#endif
|
tmplFunc = TemplateUtil::getTemplateFunc("t2", "tpe/fortunes.tpe");
|
m_ser = Serializer::getSerFuncForObject("t2", "TeBkUmMgrMessage");
|
w_ser = Serializer::getSerFuncForObject("t2", "TeBkUmMgrWorld");
|
wcont_ser = Serializer::getSerFuncForObjectCont("t2", "TeBkUmMgrWorld", "std::vector");
|
}
|
TeBkUmMgrRouter::~TeBkUmMgrRouter() {
|
}
|
#ifdef INC_SDORM_MONGO
|
MongoDBRawDataSourceImpl* TeBkUmMgrRouter::getDb() {
|
if(sqli==NULL) {
|
sqli = static_cast<MongoDBRawDataSourceImpl*>(DataSourceManager::getRawImpl("MongoDB-DSN", "t2"));
|
}
|
return sqli;
|
}
|
#endif
|
//
|
// Copyright (c) Microsoft. All rights reserved.
|
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
|
//
|
// stdafx.cpp : source file that includes just the standard includes
|
// HTKMLFReader.pch will be the pre-compiled header
|
// stdafx.obj will contain the pre-compiled type information
|
//
|
#include "stdafx.h"
|
// TODO: reference any additional headers you need in STDAFX.H
|
// and not in this file
|
// ball_observeradapter.cpp -*-C++-*-
|
#include <ball_observeradapter.h>
|
#include <bsls_ident.h>
|
BSLS_IDENT_RCSID(ball_observeradapter_cpp,"$Id$ $CSID$")
|
#include <ball_context.h> // for testing only
|
#include <ball_record.h> // for testing only
|
#include <ball_recordattributes.h> // for testing only
|
#include <ball_transmission.h> // for testing only
|
#include <ball_userfields.h> // for testing only
|
#include <ball_userfieldvalue.h> // for testing only
|
namespace BloombergLP {
|
namespace ball {
|
// ---------------------
|
// class ObserverAdapter
|
// ---------------------
|
// CREATORS
|
ObserverAdapter::~ObserverAdapter()
|
{
|
}
|
} // close package namespace
|
} // close enterprise namespace
|
// ----------------------------------------------------------------------------
|
// Copyright 2015 Bloomberg Finance L.P.
|
//
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
// you may not use this file except in compliance with the License.
|
// You may obtain a copy of the License at
|
//
|
// http://www.apache.org/licenses/LICENSE-2.0
|
//
|
// Unless required by applicable law or agreed to in writing, software
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// See the License for the specific language governing permissions and
|
// limitations under the License.
|
// ----------------------------- END-OF-FILE ----------------------------------
|
#include <c10/util/TypeCast.h>
|
namespace c10 {
|
void report_overflow(const char* name) {
|
std::ostringstream oss;
|
oss << "value cannot be converted to type " << name << " without overflow";
|
throw std::runtime_error(oss.str()); // rather than domain_error (issue 33562)
|
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.