CMS 3D CMS Logo

Public Member Functions | Private Attributes | Static Private Attributes

edm::messagedrop::StringProducerSinglet Class Reference

Inheritance diagram for edm::messagedrop::StringProducerSinglet:
edm::messagedrop::StringProducer

List of all members.

Public Member Functions

void set (const char *sing)
virtual void snapshot ()
 StringProducerSinglet ()
virtual std::string theContext () const

Private Attributes

const char * singlet_
char snapshot_singlet_ [SINGLET_MAX_LENGTH+1]

Static Private Attributes

static const int SINGLET_MAX_LENGTH = 32

Detailed Description

Definition at line 197 of file MessageDrop.cc.


Constructor & Destructor Documentation

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

Definition at line 199 of file MessageDrop.cc.

    : singlet_("(NoModuleName)")
    , snapshot_singlet_() {
      memset(snapshot_singlet_, '\0', sizeof(snapshot_singlet_));
    }

Member Function Documentation

void edm::messagedrop::StringProducerSinglet::set ( const char *  sing) [inline]

Definition at line 207 of file MessageDrop.cc.

Referenced by edm::MessageDrop::setSinglet().

{singlet_ = sing; } 
virtual void edm::messagedrop::StringProducerSinglet::snapshot ( ) [inline, virtual]
virtual std::string edm::messagedrop::StringProducerSinglet::theContext ( ) const [inline, virtual]

Implements edm::messagedrop::StringProducer.

Definition at line 204 of file MessageDrop.cc.

                                         {
      return singlet_;
    }

Member Data Documentation

Definition at line 218 of file MessageDrop.cc.

Definition at line 217 of file MessageDrop.cc.

Definition at line 219 of file MessageDrop.cc.