#include <ParentContext.h>
Classes | |
union | Parent |
Public Types | |
enum | Type { Type::kGlobal, Type::kInternal, Type::kModule, Type::kPlaceInPath, Type::kStream, Type::kInvalid } |
Public Member Functions | |
GlobalContext const * | globalContext () const |
InternalContext const * | internalContext () const |
ModuleCallingContext const * | moduleCallingContext () const |
ParentContext () | |
ParentContext (GlobalContext const *) | |
ParentContext (InternalContext const *) | |
ParentContext (ModuleCallingContext const *) | |
ParentContext (PlaceInPathContext const *) | |
ParentContext (StreamContext const *) | |
PlaceInPathContext const * | placeInPathContext () const |
StreamContext const * | streamContext () const |
Type | type () const |
Private Attributes | |
union edm::ParentContext::Parent | parent_ |
Type | type_ |
Description: This is intended to be used as a member of ModuleCallingContext.
Usage:
Definition at line 27 of file ParentContext.h.
|
strong |
Enumerator | |
---|---|
kGlobal | |
kInternal | |
kModule | |
kPlaceInPath | |
kStream | |
kInvalid |
Definition at line 30 of file ParentContext.h.
edm::ParentContext::ParentContext | ( | ) |
Definition at line 14 of file ParentContext.cc.
References edm::ParentContext::Parent::global, and parent_.
edm::ParentContext::ParentContext | ( | GlobalContext const * | global | ) |
Definition at line 19 of file ParentContext.cc.
References edm::ParentContext::Parent::global, and parent_.
edm::ParentContext::ParentContext | ( | InternalContext const * | internal | ) |
Definition at line 24 of file ParentContext.cc.
References edm::ParentContext::Parent::internal, and parent_.
edm::ParentContext::ParentContext | ( | ModuleCallingContext const * | module | ) |
Definition at line 29 of file ParentContext.cc.
References edm::ParentContext::Parent::module, python.rootplot.argparse::module, and parent_.
edm::ParentContext::ParentContext | ( | PlaceInPathContext const * | placeInPath | ) |
Definition at line 34 of file ParentContext.cc.
References parent_, and edm::ParentContext::Parent::placeInPath.
edm::ParentContext::ParentContext | ( | StreamContext const * | stream | ) |
Definition at line 39 of file ParentContext.cc.
References parent_, and edm::ParentContext::Parent::stream.
GlobalContext const * edm::ParentContext::globalContext | ( | ) | const |
Definition at line 72 of file ParentContext.cc.
References Exception, edm::ParentContext::Parent::global, kGlobal, edm::errors::LogicError, parent_, and type_.
Referenced by edm::ModuleCallingContext::globalContext(), and edm::operator<<().
InternalContext const * edm::ParentContext::internalContext | ( | ) | const |
Definition at line 81 of file ParentContext.cc.
References Exception, edm::ParentContext::Parent::internal, kInternal, edm::errors::LogicError, parent_, and type_.
Referenced by edm::ModuleCallingContext::internalContext(), and edm::operator<<().
ModuleCallingContext const * edm::ParentContext::moduleCallingContext | ( | ) | const |
Definition at line 45 of file ParentContext.cc.
References Exception, kModule, edm::errors::LogicError, edm::ParentContext::Parent::module, parent_, and type_.
Referenced by edm::ModuleCallingContext::moduleCallingContext(), and edm::operator<<().
PlaceInPathContext const * edm::ParentContext::placeInPathContext | ( | ) | const |
Definition at line 54 of file ParentContext.cc.
References Exception, kPlaceInPath, edm::errors::LogicError, parent_, edm::ParentContext::Parent::placeInPath, and type_.
Referenced by edm::operator<<(), and edm::ModuleCallingContext::placeInPathContext().
StreamContext const * edm::ParentContext::streamContext | ( | ) | const |
Definition at line 63 of file ParentContext.cc.
References Exception, kStream, edm::errors::LogicError, parent_, edm::ParentContext::Parent::stream, and type_.
Referenced by edm::operator<<(), and edm::ModuleCallingContext::streamContext().
|
inline |
Definition at line 46 of file ParentContext.h.
References type_.
Referenced by cuy.ValElement::__init__(), edm::operator<<(), and edm::ModuleCallingContext::type().
|
private |
Referenced by globalContext(), internalContext(), moduleCallingContext(), ParentContext(), placeInPathContext(), and streamContext().
|
private |
Definition at line 55 of file ParentContext.h.
Referenced by Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), globalContext(), Modules.Service::insertInto(), RandomRunSource.RandomRunSource::insertInto(), Mixins._TypedParameterizable::insertInto(), internalContext(), moduleCallingContext(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), placeInPathContext(), streamContext(), and type().