CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
zmex::ZMexLogger Class Reference

#include <ZMexLogger.h>

+ Inheritance diagram for zmex::ZMexLogger:

Public Member Functions

 ZMexLogger (const ZMexLogBehavior &desiredBehavior)
 
 ~ZMexLogger ()
 
ZMexLogResult emit (const ZMexception &exc)
 
ZMexLogResult emit (const std::string &message)
 
ZMexLogBehaviorcontrol ()
 
- Public Member Functions inherited from ZMhandleTo< ZMexLogBehavior >
 ZMhandleTo ()
 
 ZMhandleTo (const ZMhandleTo &h)
 
 ~ZMhandleTo ()
 
ZMhandleTooperator= (const ZMhandleTo &rhs)
 

Additional Inherited Members

- Protected Member Functions inherited from ZMhandleTo< ZMexLogBehavior >
 ZMhandleTo (const ZMexLogBehavior &t)
 
 ZMhandleTo (const ZMexLogBehavior *t)
 
- Protected Attributes inherited from ZMhandleTo< ZMexLogBehavior >
ZMuseCount u_
 
ZMexLogBehavior * rep_
 

Detailed Description

Definition at line 256 of file ZMexLogger.h.

Constructor & Destructor Documentation

◆ ZMexLogger()

zmex::ZMexLogger::ZMexLogger ( const ZMexLogBehavior desiredBehavior)

Definition at line 245 of file ZMexLogger.cc.

248: ZMhandleTo<ZMexLogBehavior>( desiredBehavior )
249{ ; }

◆ ~ZMexLogger()

zmex::ZMexLogger::~ZMexLogger ( )

Definition at line 252 of file ZMexLogger.cc.

252{ ; }

Member Function Documentation

◆ control()

ZMexLogBehavior * zmex::ZMexLogger::control ( )

Definition at line 265 of file ZMexLogger.cc.

265{ return rep_; }
ZMexLogBehavior * rep_
Definition: ZMhandleTo.h:39

Referenced by zmex::ZMexception::logMessage().

◆ emit() [1/2]

ZMexLogResult zmex::ZMexLogger::emit ( const std::string &  message)

Definition at line 260 of file ZMexLogger.cc.

260 {
261 return rep_->emit( message );
262}

◆ emit() [2/2]

ZMexLogResult zmex::ZMexLogger::emit ( const ZMexception exc)

Definition at line 255 of file ZMexLogger.cc.

255 {
256 return rep_->emit( exc );
257}

Referenced by display(), zmex::ZMexception::logMe(), and main().


The documentation for this class was generated from the following files: