22 #include "OnixS/CME/DropCopy/Export.h" 25 namespace OnixS {
namespace CME {
namespace DropCopy {
43 static Enum deserialize(
const char* value);
46 static const char* toString(
Enum value);
57 Warning(
const std::string& source, WarningCode code);
60 Warning(
const std::string& source, WarningCode code,
const std::string& description);
69 WarningCode code()
const;
72 const char* description()
const;
75 const char* source()
const;
78 std::string toString()
const;
81 void toString(std::string&)
const;
89 SourceMaxLength = 128,
90 DescriptionMaxLength = 1024
94 char source_[SourceMaxLength];
95 char description_[DescriptionMaxLength];
124 ONIXS_CME_DROP_COPY_EXPORT std::ostream&
const char * description() const
Human readable description.
const char * source() const
Origin of the warning.
std::string toString() const
String presentation of an warning.
Enum
List of known warnings.
WarningCode code() const
Code of warning.
KnownWarnings::Enum WarningCode
Code of warning.