29 namespace OnixS {
namespace ICE {
namespace iMpact {
namespace MarketData {
75 static Enum deserialize(
const char* value);
78 static const char* toString(
Enum value);
89 Warning(
const std::string& source, WarningCode code);
92 Warning(
const std::string& source, WarningCode code,
const std::string& description);
95 Warning(
const std::string& source, WarningCode code,
const std::string& description,
FeedId feedId);
107 WarningCode code()
const;
110 const char* description()
const;
113 const char* source()
const;
116 std::string toString()
const;
119 void toString(std::string&)
const;
127 SourceMaxLength = 128,
128 DescriptionMaxLength = 1024
132 char source_[SourceMaxLength];
133 char description_[DescriptionMaxLength];
const char * description() const
Human readable description.
WarningCode code() const
Code of warning.
Enum
List of known warnings.
const char * source() const
Origin of the warning.
std::ostream & operator<<(std::ostream &, const Error &)
Make it printable to formatted C++ I/O streams.
std::string toString() const
String presentation of an warning.
KnownWarnings::Enum WarningCode
Code of warning.
const Optional< FeedId > & feedId() const
Feed ID (if available).
Indicates there are no UDS for requested market type.
int FeedId
Alias for market types.