#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 |
bool | isAtEndTransition () 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 15 of file ParentContext.cc.
References edm::ParentContext::Parent::global, and parent_.
edm::ParentContext::ParentContext | ( | GlobalContext const * | global | ) |
Definition at line 20 of file ParentContext.cc.
References edm::ParentContext::Parent::global, and parent_.
edm::ParentContext::ParentContext | ( | InternalContext const * | internal | ) |
Definition at line 25 of file ParentContext.cc.
References edm::ParentContext::Parent::internal, and parent_.
edm::ParentContext::ParentContext | ( | ModuleCallingContext const * | module | ) |
Definition at line 30 of file ParentContext.cc.
References edm::ParentContext::Parent::module, and parent_.
edm::ParentContext::ParentContext | ( | PlaceInPathContext const * | placeInPath | ) |
Definition at line 35 of file ParentContext.cc.
References parent_, and edm::ParentContext::Parent::placeInPath.
edm::ParentContext::ParentContext | ( | StreamContext const * | stream | ) |
Definition at line 40 of file ParentContext.cc.
References parent_, and edm::ParentContext::Parent::stream.
GlobalContext const * edm::ParentContext::globalContext | ( | ) | const |
Definition at line 73 of file ParentContext.cc.
References Exception, edm::ParentContext::Parent::global, kGlobal, edm::errors::LogicError, parent_, and type_.
Referenced by edm::ModuleCallingContext::globalContext(), edm::operator<<(), and type().
InternalContext const * edm::ParentContext::internalContext | ( | ) | const |
Definition at line 82 of file ParentContext.cc.
References Exception, edm::ParentContext::Parent::internal, kInternal, edm::errors::LogicError, parent_, and type_.
Referenced by edm::ModuleCallingContext::internalContext(), edm::operator<<(), and type().
bool edm::ParentContext::isAtEndTransition | ( | ) | const |
Definition at line 91 of file ParentContext.cc.
References edm::ParentContext::Parent::global, isAtEndTransition(), edm::GlobalContext::isAtEndTransition(), edm::StreamContext::isAtEndTransition(), kGlobal, kModule, kPlaceInPath, kStream, edm::ParentContext::Parent::module, edm::ModuleCallingContext::parent(), parent_, edm::PlaceInPathContext::pathContext(), edm::ParentContext::Parent::placeInPath, edm::ParentContext::Parent::stream, edm::PathContext::streamContext(), and type_.
Referenced by isAtEndTransition(), and type().
ModuleCallingContext const * edm::ParentContext::moduleCallingContext | ( | ) | const |
Definition at line 46 of file ParentContext.cc.
References Exception, kModule, edm::errors::LogicError, edm::ParentContext::Parent::module, parent_, and type_.
Referenced by edm::ModuleCallingContext::moduleCallingContext(), edm::operator<<(), and type().
PlaceInPathContext const * edm::ParentContext::placeInPathContext | ( | ) | const |
Definition at line 55 of file ParentContext.cc.
References Exception, kPlaceInPath, edm::errors::LogicError, parent_, edm::ParentContext::Parent::placeInPath, and type_.
Referenced by edm::operator<<(), edm::ModuleCallingContext::placeInPathContext(), and type().
StreamContext const * edm::ParentContext::streamContext | ( | ) | const |
Definition at line 64 of file ParentContext.cc.
References Exception, kStream, edm::errors::LogicError, parent_, edm::ParentContext::Parent::stream, and type_.
Referenced by edm::operator<<(), edm::ModuleCallingContext::streamContext(), and type().
|
inline |
Definition at line 46 of file ParentContext.h.
References globalContext(), internalContext(), isAtEndTransition(), moduleCallingContext(), placeInPathContext(), streamContext(), and type_.
Referenced by edm::operator<<(), and edm::ModuleCallingContext::type().
|
private |
Referenced by globalContext(), internalContext(), isAtEndTransition(), moduleCallingContext(), ParentContext(), placeInPathContext(), and streamContext().
|
private |
Definition at line 57 of file ParentContext.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), globalContext(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), Mixins._TypedParameterizable::insertInto(), internalContext(), isAtEndTransition(), moduleCallingContext(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), placeInPathContext(), streamContext(), and type().