ers Namespace Reference


Classes

class  Assertion
 This Issue represents a basic assertion. 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::stringstring_vector

Enumerations

enum  _severity_t {
  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
}

Functions

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


Typedef Documentation

typedef enum ers::_severity_t ers::severity_t

typedef enum ers::_responsibility_t ers::responsibility_t

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

Definition at line 26 of file Core.h.

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

Definition at line 27 of file Core.h.


Enumeration Type Documentation

enum ers::_severity_t

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

Definition at line 24 of file Core.h.

enum ers::_responsibility_t

Enumerator:
resp_client 
resp_server 
resp_dependency 
resp_unknown 
resp_max 

Definition at line 25 of file Core.h.


Function Documentation

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

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

Parameters:
s the destination Stream
i the Issue to Stream
See also:
Issue::human_description()

Definition at line 215 of file Issue.cxx.

00215                                                          {
00216     return s << i.human_description() ; 
00217 } // operator<<

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

Sends the Issue into a Stream

Parameters:
s the Stream to send the Issue into
i the Issue to send
Returns:
the Stream
See also:
serialize_to()

Definition at line 226 of file Issue.cxx.

00226                                                  {
00227     s.send(&i); 
00228     return s ; 
00229 } // operator<< 

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

streaming operator

Definition at line 112 of file IssueFactory.cxx.

00112                                                                            {
00113     factory.write_to(stream);
00114     return stream ; 
00115 } // operator

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

Definition at line 63 of file Stream.cxx.

00063                                                                    {
00064     s.print_to(target); 
00065     return target ; 
00066 } // operator<<

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

streaming operator

Streaming operator

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

Definition at line 398 of file StreamFactory.cxx.

00398                                                                                {
00399     factory.write_to(stream);
00400     return stream ; 
00401 } // operator

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

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

Parameters:
s the destination Stream
i the Issue to Stream
See also:
Issue::human_description()

Definition at line 215 of file Issue.cxx.

References genRecEmupikp::i.

00215                                                          {
00216     return s << i.human_description() ; 
00217 } // operator<<

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

Sends the Issue into a Stream

Parameters:
s the Stream to send the Issue into
i the Issue to send
Returns:
the Stream
See also:
serialize_to()

Definition at line 226 of file Issue.cxx.

References genRecEmupikp::i, and s.

00226                                                  {
00227     s.send(&i); 
00228     return s ; 
00229 } // operator<< 

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

streaming operator

Definition at line 112 of file IssueFactory.cxx.

References factory().

00112                                                                            {
00113     factory.write_to(stream);
00114     return stream ; 
00115 } // operator

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

Definition at line 63 of file Stream.cxx.

References s.

00063                                                                    {
00064     s.print_to(target); 
00065     return target ; 
00066 } // operator<<

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

streaming operator

Streaming operator

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

Definition at line 398 of file StreamFactory.cxx.

References factory().

00398                                                                                {
00399     factory.write_to(stream);
00400     return stream ; 
00401 } // operator


Generated on Tue Nov 29 23:36:31 2016 for BOSS_7.0.2 by  doxygen 1.4.7