cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches

A generic message type. More...

#include <CepGen/Utils/Message.h>

+ Inheritance diagram for Message:

Public Member Functions

 Message ()=default
 Generic message constructor.
 
virtual ~Message ()=default
 
virtual void dump (std::ostream *os=nullptr) const =0
 Dump the full exception information in a given output stream.
 

Static Public Member Functions

static std::string now ()
 Human-readable date/time.
 

Detailed Description

Author
Laurent Forthomme laure.nosp@m.nt.f.nosp@m.ortho.nosp@m.mme@.nosp@m.cern..nosp@m.ch
Date
27 Mar 2015

Definition at line 32 of file Message.h.

Constructor & Destructor Documentation

◆ Message()

Message ( )
explicitdefault

◆ ~Message()

virtual ~Message ( )
virtualdefault

Member Function Documentation

◆ dump()

virtual void dump ( std::ostream *  os = nullptr) const
pure virtual
Parameters
[in,out]osthe output stream where the information is dumped

Implemented in Exception, LoggedMessage, and NullStream.

◆ now()

std::string now ( )
static

Definition at line 23 of file Message.cpp.