OnixS BME SENAF Handler C++ library  2.2.0
API documentation
Warning Class Reference

#include <OnixS/Senaf/MarketData/Warning.h>

Public Member Functions

 Warning (const std::string &source, WarningCode code)
 
 Warning (const std::string &source, WarningCode code, const std::string &description)
 
 Warning (const Warning &other)
 
 ~Warning ()
 
WarningCode code () const
 
const char * description () const
 
const char * source () const
 
std::string toString () const
 
void toString (std::string &) const
 
Warningoperator= (const Warning &other)
 

Detailed Description

Definition at line 50 of file Warning.h.

Constructor & Destructor Documentation

Warning ( const std::string &  source,
WarningCode  code 
)

Initializes instance with just a code.

Warning ( const std::string &  source,
WarningCode  code,
const std::string &  description 
)

Initializes instance with code and description.

Warning ( const Warning other)

Initializes as clone of another warning.

~Warning ( )

Cleans internal resources.

Member Function Documentation

WarningCode code ( ) const
inline

Code of warning.

Definition at line 98 of file Warning.h.

const char * description ( ) const
inline

Human readable description.

Definition at line 103 of file Warning.h.

Warning& operator= ( const Warning other)

Copies warning attributes from another instance.

const char * source ( ) const
inline

Origin of the warning.

Definition at line 108 of file Warning.h.

std::string toString ( ) const
inline

String presentation of an warning.

Definition at line 113 of file Warning.h.

void toString ( std::string &  ) const

Appends presentation of an warning to the string.


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