BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
ers Namespace Reference

Classes

class  Assertion
 This Issue represents a basic assertion. More...
struct  Compile_time_error
 compile time error structure. More...
struct  Compile_time_error< true >
 compile time error structure More...
class  Context
 Source context for Issue. More...
class  Core
 Miscalenous constants. More...
class  DefaultIssue
 Place holder Issue class. More...
class  DefaultStream
 Default Issue display. More...
class  EntityNotFoundIssue
class  FIFOStream
 Queue stream. More...
class  FilterStream
 filtering stream More...
class  HumanStream
 Single line, human readable format stream. More...
class  InvalidReferenceIssue
 Invalid pointer issue. More...
class  Issue
 Root Issue class. More...
class  IssueFactory
 Factory for all Issues. More...
class  IssueFactoryIssue
 Issue in the Issue factory mechanism. More...
class  LogIssue
 Wrapper for log messages. More...
class  NotImplemented
 Macro to mark unimplemented code. More...
class  ParseIssue
 Data parsing error. More...
class  Precondition
 Precondition issue. More...
class  RangeIssue
class  Stream
 Root/Null issue stream. More...
class  StreamFactory
 Factory for Stream objects and repository of default streams. More...

Typedefs

typedef enum ers::_severity_t severity_t
typedef enum ers::_responsibility_t responsibility_t
typedef std::map< std::string, std::string > string_map_type
typedef std::vector< std::string > string_vector

Enumerations

enum  _severity_t {
  severity_none , debug_0 , debug_1 , debug_2 ,
  debug_3 , information , notification , warning ,
  error , fatal , severity_max , severity_none ,
  debug_0 , debug_1 , debug_2 , debug_3 ,
  information , notification , warning , error ,
  fatal , severity_max , severity_none , debug_0 ,
  debug_1 , debug_2 , debug_3 , information ,
  notification , warning , error , fatal ,
  severity_max
}
enum  _responsibility_t {
  resp_client , resp_server , resp_dependency , resp_unknown ,
  resp_max , resp_client , resp_server , resp_dependency ,
  resp_unknown , resp_max , resp_client , resp_server ,
  resp_dependency , resp_unknown , resp_max
}
enum  _severity_t {
  severity_none , debug_0 , debug_1 , debug_2 ,
  debug_3 , information , notification , warning ,
  error , fatal , severity_max , severity_none ,
  debug_0 , debug_1 , debug_2 , debug_3 ,
  information , notification , warning , error ,
  fatal , severity_max , severity_none , debug_0 ,
  debug_1 , debug_2 , debug_3 , information ,
  notification , warning , error , fatal ,
  severity_max
}
enum  _responsibility_t {
  resp_client , resp_server , resp_dependency , resp_unknown ,
  resp_max , resp_client , resp_server , resp_dependency ,
  resp_unknown , resp_max , resp_client , resp_server ,
  resp_dependency , resp_unknown , resp_max
}
enum  _severity_t {
  severity_none , debug_0 , debug_1 , debug_2 ,
  debug_3 , information , notification , warning ,
  error , fatal , severity_max , severity_none ,
  debug_0 , debug_1 , debug_2 , debug_3 ,
  information , notification , warning , error ,
  fatal , severity_max , severity_none , debug_0 ,
  debug_1 , debug_2 , debug_3 , information ,
  notification , warning , error , fatal ,
  severity_max
}
enum  _responsibility_t {
  resp_client , resp_server , resp_dependency , resp_unknown ,
  resp_max , resp_client , resp_server , resp_dependency ,
  resp_unknown , resp_max , resp_client , resp_server ,
  resp_dependency , resp_unknown , resp_max
}

Functions

std::ostream & operator<< (std::ostream &, const Issue &)
Streamoperator<< (Stream &, const Issue &)
std::ostream & operator<< (std::ostream &, const IssueFactory &factory)
 streaming operator
std::ostream & operator<< (std::ostream &target, const ers::Stream &s)
std::ostream & operator<< (std::ostream &, const ers::StreamFactory &factory)
 streaming operator

Typedef Documentation

◆ responsibility_t

◆ severity_t

◆ string_map_type

typedef std::map< std::string, std::string > ers::string_map_type

Definition at line 43 of file Event/ers/include/ers/Core.h.

◆ string_vector

typedef std::vector< std::string > ers::string_vector

Definition at line 44 of file Event/ers/include/ers/Core.h.

Enumeration Type Documentation

◆ _responsibility_t [1/3]

Enumerator
resp_client 
resp_server 
resp_dependency 
resp_unknown 
resp_max 
resp_client 
resp_server 
resp_dependency 
resp_unknown 
resp_max 
resp_client 
resp_server 
resp_dependency 
resp_unknown 
resp_max 

Definition at line 36 of file Event/ers/include/ers/Core.h.

◆ _responsibility_t [2/3]

Enumerator
resp_client 
resp_server 
resp_dependency 
resp_unknown 
resp_max 
resp_client 
resp_server 
resp_dependency 
resp_unknown 
resp_max 
resp_client 
resp_server 
resp_dependency 
resp_unknown 
resp_max 

Definition at line 36 of file InstallArea/x86_64-el9-gcc13-dbg/include/ers/Core.h.

◆ _responsibility_t [3/3]

Enumerator
resp_client 
resp_server 
resp_dependency 
resp_unknown 
resp_max 
resp_client 
resp_server 
resp_dependency 
resp_unknown 
resp_max 
resp_client 
resp_server 
resp_dependency 
resp_unknown 
resp_max 

Definition at line 36 of file InstallArea/x86_64-el9-gcc13-opt/include/ers/Core.h.

◆ _severity_t [1/3]

Enumerator
severity_none 
debug_0 
debug_1 
debug_2 
debug_3 
information 
notification 
warning 
error 
fatal 
severity_max 
severity_none 
debug_0 
debug_1 
debug_2 
debug_3 
information 
notification 
warning 
error 
fatal 
severity_max 
severity_none 
debug_0 
debug_1 
debug_2 
debug_3 
information 
notification 
warning 
error 
fatal 
severity_max 

Definition at line 23 of file Event/ers/include/ers/Core.h.

◆ _severity_t [2/3]

Enumerator
severity_none 
debug_0 
debug_1 
debug_2 
debug_3 
information 
notification 
warning 
error 
fatal 
severity_max 
severity_none 
debug_0 
debug_1 
debug_2 
debug_3 
information 
notification 
warning 
error 
fatal 
severity_max 
severity_none 
debug_0 
debug_1 
debug_2 
debug_3 
information 
notification 
warning 
error 
fatal 
severity_max 

Definition at line 23 of file InstallArea/x86_64-el9-gcc13-dbg/include/ers/Core.h.

◆ _severity_t [3/3]

Enumerator
severity_none 
debug_0 
debug_1 
debug_2 
debug_3 
information 
notification 
warning 
error 
fatal 
severity_max 
severity_none 
debug_0 
debug_1 
debug_2 
debug_3 
information 
notification 
warning 
error 
fatal 
severity_max 
severity_none 
debug_0 
debug_1 
debug_2 
debug_3 
information 
notification 
warning 
error 
fatal 
severity_max 

Definition at line 23 of file InstallArea/x86_64-el9-gcc13-opt/include/ers/Core.h.

Function Documentation

◆ operator<<() [1/5]

std::ostream & ers::operator<< ( std::ostream & ,
const ers::StreamFactory & factory )

streaming operator

Streaming operator

Parameters
streamdestination stream
factorythe factory object to display
Returns
the stream passed as first parameter
See also
ers::StreamFactory::write_to()

Definition at line 392 of file StreamFactory.cxx.

392 {
393 factory.write_to( stream );
394 return stream;
395} // operator
efhlt::Interface * factory(void)
Definition factory.cxx:15

◆ operator<<() [2/5]

std::ostream & ers::operator<< ( std::ostream & ,
const Issue &  )

Standard Streaming operator - puts the human description into the Stream.

Parameters
sthe destination Stream
ithe Issue to Stream
See also
Issue::human_description()

Definition at line 208 of file ers/src/Issue.cxx.

208 {
209 return s << i.human_description();
210} // operator<<
XmlRpcServer s
const std::string & human_description() const
Human description message.

◆ operator<<() [3/5]

std::ostream & ers::operator<< ( std::ostream & ,
const IssueFactory & factory )

streaming operator

Definition at line 111 of file IssueFactory.cxx.

111 {
112 factory.write_to( stream );
113 return stream;
114} // operator

◆ operator<<() [4/5]

std::ostream & ers::operator<< ( std::ostream & target,
const ers::Stream & s )

Definition at line 60 of file Stream.cxx.

60 {
61 s.print_to( target );
62 return target;
63} // operator<<

◆ operator<<() [5/5]

Stream & ers::operator<< ( Stream & ,
const Issue &  )

Sends the Issue into a Stream

Parameters
sthe Stream to send the Issue into
ithe Issue to send
Returns
the Stream
See also
serialize_to()

Definition at line 219 of file ers/src/Issue.cxx.

219 {
220 s.send( &i );
221 return s;
222} // operator<<