OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.10.0
API documentation
Warning Class Reference

#include <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 std::string &source, WarningCode code, const std::string &description, FeedId feedId)
 
 Warning (const Warning &other)
 
 ~Warning ()
 
const Optional< FeedId > & feedId () const
 
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 85 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 std::string &  source,
WarningCode  code,
const std::string &  description,
FeedId  feedId 
)

Initializes instance with code, description and feed ID.

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 157 of file Warning.h.

const char * description ( ) const
inline

Human readable description.

Definition at line 162 of file Warning.h.

const Optional< FeedId > & feedId ( ) const
inline

Feed ID (if available).

Definition at line 152 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 167 of file Warning.h.

std::string toString ( ) const
inline

String presentation of an warning.

Definition at line 172 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: