Public Member Functions | |
void | set (const char *type, std::string const &pathname) |
virtual void | snapshot () |
StringProducerPath () | |
virtual std::string | theContext () const |
Private Attributes | |
std::string | cache_ |
std::string | path_ |
char | snapshot_type_ [TYPE_MAX_LENGTH+1] |
const char * | typePtr_ |
Static Private Attributes | |
static const int | TYPE_MAX_LENGTH = 32 |
Definition at line 160 of file MessageDrop.cc.
edm::messagedrop::StringProducerPath::StringProducerPath | ( | ) | [inline] |
Definition at line 162 of file MessageDrop.cc.
: typePtr_("PathNotYetEstablished") // change log 4 , path_ (" ") , cache_() , snapshot_type_() { memset(snapshot_type_, '\0', sizeof(snapshot_type_)); }
void edm::messagedrop::StringProducerPath::set | ( | const char * | type, |
std::string const & | pathname | ||
) | [inline] |
Definition at line 176 of file MessageDrop.cc.
References path_, and timingPdfMaker::pathname.
Referenced by edm::MessageDrop::setPath().
virtual void edm::messagedrop::StringProducerPath::snapshot | ( | ) | [inline, virtual] |
Implements edm::messagedrop::StringProducer.
Definition at line 181 of file MessageDrop.cc.
{ if ( snapshot_type_ != typePtr_ ) { // change log 6 std::strncpy (snapshot_type_,typePtr_,TYPE_MAX_LENGTH); } snapshot_type_[TYPE_MAX_LENGTH] = 0; typePtr_ = snapshot_type_; }
virtual std::string edm::messagedrop::StringProducerPath::theContext | ( | ) | const [inline, virtual] |
Implements edm::messagedrop::StringProducer.
Definition at line 169 of file MessageDrop.cc.
References path_.
std::string edm::messagedrop::StringProducerPath::cache_ [mutable, private] |
Definition at line 193 of file MessageDrop.cc.
std::string edm::messagedrop::StringProducerPath::path_ [private] |
Definition at line 192 of file MessageDrop.cc.
char edm::messagedrop::StringProducerPath::snapshot_type_[TYPE_MAX_LENGTH+1] [private] |
Definition at line 194 of file MessageDrop.cc.
const int edm::messagedrop::StringProducerPath::TYPE_MAX_LENGTH = 32 [static, private] |
Definition at line 190 of file MessageDrop.cc.
const char* edm::messagedrop::StringProducerPath::typePtr_ [private] |
Definition at line 191 of file MessageDrop.cc.