CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::messagedrop::StringProducerSinglet Class Reference
Inheritance diagram for edm::messagedrop::StringProducerSinglet:
edm::messagedrop::StringProducer

Public Member Functions

void set (const char *sing)
 
 StringProducerSinglet ()
 
std::string theContext () const override
 
- Public Member Functions inherited from edm::messagedrop::StringProducer
virtual ~StringProducer ()
 

Private Attributes

const char * singlet_
 

Detailed Description

Definition at line 151 of file MessageDrop.cc.

Constructor & Destructor Documentation

◆ StringProducerSinglet()

edm::messagedrop::StringProducerSinglet::StringProducerSinglet ( )
inline

Definition at line 153 of file MessageDrop.cc.

153 : singlet_("(NoModuleName)") {}

Member Function Documentation

◆ set()

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

Definition at line 155 of file MessageDrop.cc.

155 { singlet_ = sing; }

References singlet_.

◆ theContext()

std::string edm::messagedrop::StringProducerSinglet::theContext ( ) const
inlineoverridevirtual

Implements edm::messagedrop::StringProducer.

Definition at line 154 of file MessageDrop.cc.

154 { return singlet_; }

References singlet_.

Member Data Documentation

◆ singlet_

const char* edm::messagedrop::StringProducerSinglet::singlet_
private

Definition at line 158 of file MessageDrop.cc.

Referenced by set(), and theContext().

edm::messagedrop::StringProducerSinglet::singlet_
const char * singlet_
Definition: MessageDrop.cc:158