CMS 3D CMS Logo

Public Member Functions | Private Attributes | Static Private Attributes

edm::messagedrop::StringProducerPath Class Reference

Inheritance diagram for edm::messagedrop::StringProducerPath:
edm::messagedrop::StringProducer

List of all members.

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

Detailed Description

Definition at line 153 of file MessageDrop.cc.


Constructor & Destructor Documentation

edm::messagedrop::StringProducerPath::StringProducerPath ( ) [inline]

Definition at line 155 of file MessageDrop.cc.

    : typePtr_("PathNotYetEstablished")                 // change log 4
    , path_ (" ") {}

Member Function Documentation

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().

                                                           {
      typePtr_ = type;
      path_ = pathname;
      cache_.clear();        
    } 
virtual void edm::messagedrop::StringProducerPath::snapshot ( ) [inline, virtual]

Implements edm::messagedrop::StringProducer.

Definition at line 170 of file MessageDrop.cc.

virtual std::string edm::messagedrop::StringProducerPath::theContext ( ) const [inline, virtual]

Implements edm::messagedrop::StringProducer.

Definition at line 158 of file MessageDrop.cc.

References path_.

                                          {
      if ( cache_.empty() ) {
        cache_.assign(typePtr_);
        cache_.append(path_);
      }
      return cache_; 
    }

Member Data Documentation

std::string edm::messagedrop::StringProducerPath::cache_ [mutable, private]

Definition at line 182 of file MessageDrop.cc.

Definition at line 181 of file MessageDrop.cc.

Definition at line 183 of file MessageDrop.cc.

Definition at line 179 of file MessageDrop.cc.

Definition at line 180 of file MessageDrop.cc.