Go to the source code of this file.
template<class T >
T * ArtServicePointer |
( |
| ) |
|
template<class T >
T* GenericArtServicePointer |
( |
| ) |
|
Definition at line 37 of file ArtServicePointer.h.
39 if ( art::ServiceRegistry::isAvailable<T>() ) {
49 if ( msg.find(
"no ServiceRegistry has been set") != std::string::npos ) {
50 std::cout <<
"WARNING: ArtServicePointer: ServiceRegistry not found. Instantiate with" <<
std::endl;
51 std::cout <<
" ArtServiceHelper::load(\"myfcl.fcl\")" <<
std::endl;
53 std::cout <<
"WARNING: Art exception: \n" <<
msg;
56 std::cout <<
"ERROR: ArtServicePointer: Unexpected exception." <<
std::endl;
void msg(const char *fmt,...)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
QTextStream & endl(QTextStream &s)