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 153 of file MessageDrop.cc.
edm::messagedrop::StringProducerPath::StringProducerPath | ( | ) | [inline] |
Definition at line 155 of file MessageDrop.cc.
void edm::messagedrop::StringProducerPath::set | ( | const char * | type, |
std::string const & | pathname | ||
) | [inline] |
Definition at line 165 of file MessageDrop.cc.
References path_.
Referenced by edm::MessageDrop::setPath().
virtual void edm::messagedrop::StringProducerPath::snapshot | ( | ) | [inline, virtual] |
Implements edm::messagedrop::StringProducer.
Definition at line 170 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 158 of file MessageDrop.cc.
References path_.
std::string edm::messagedrop::StringProducerPath::cache_ [mutable, private] |
Definition at line 182 of file MessageDrop.cc.
std::string edm::messagedrop::StringProducerPath::path_ [private] |
Definition at line 181 of file MessageDrop.cc.
char edm::messagedrop::StringProducerPath::snapshot_type_[TYPE_MAX_LENGTH+1] [private] |
Definition at line 183 of file MessageDrop.cc.
const int edm::messagedrop::StringProducerPath::TYPE_MAX_LENGTH = 32 [static, private] |
Definition at line 179 of file MessageDrop.cc.
const char* edm::messagedrop::StringProducerPath::typePtr_ [private] |
Definition at line 180 of file MessageDrop.cc.