293 else if (str.
empty())
672 if (
'0' <= original &&
710 Integral
value)
const 732 Integral
value)
const 743 static_cast<Integer
>(-1) >
744 static_cast<Integer>(0)
758 container.
get<Integer>());
769 container.
get<Integer>();
771 if (CanFitToChar()(actual))
792 (container.
get<Integer>());
805 (container.
get<Integer>());
818 (container.
get<Integer>());
831 (container.
get<Integer>());
844 (container.
get<Integer>());
857 (container.
get<Integer>());
870 (container.
get<Integer>());
883 (container.
get<Integer>());
896 static_cast<Decimal::Mantissa>
897 (container.
get<Integer>()),
1189 return "MaturityMonthYear";
1235 const Char* typeName)
1239 issue +=
"Cannot transform ";
1247 " value to the value of the requested " 1248 "type because either conversion between " 1249 "types does not exist or the value cannot " 1250 "be fit to the value of the target type. ";
1252 throw std::domain_error(issue);
1324 sizeof(kind<Value>(NULL))
1327 sizeof(Enumeration) ==
1328 sizeof(kind<Value>(NULL))
1329 ? ValueKinds::Enumeration
1330 : ValueKinds::Ordinary
1535 return BitSet(bits);
1562 result = BitSet(bits);
const Char * typeName() const
A real number with floating exponent.
virtual bool convert(UInt64 &, const ValueContainer &) const
bool convert(UInt32 &value, const ValueContainer &container) const
const Char * typeName() const
const Char * typeName() const
bool convert(UInt32 &value, const ValueContainer &container) const
bool convert(Int32 &value, const ValueContainer &container) const
void toStr(std::string &str, const ValueContainer &container) const
static bool convert(BitSet &result, const ValueConverter &converter, const ValueContainer &container)
static bool convert(Result &result, const ValueConverter &converter, const ValueContainer &container)
Traits::Result Result
Conversion output type.
virtual const Char * typeName() const =0
bool convert(UInt64 &value, const ValueContainer &container) const
ONIXS_CONFLATEDUDP_EXPORTED void toStr(std::string &, BookState::Enum)
Serializes book state value into a string.
bool convert(Int16 &value, const ValueContainer &container) const
Container for a value of any supported kinds.
void toStr(std::string &str, const ValueContainer &container) const
bool convert(Char &value, const ValueContainer &container) const
bool convert(Int8 &value, const ValueContainer &container) const
bool convert(UInt8 &value, const ValueContainer &container) const
bool convert(Int8 &value, const ValueContainer &container) const
void throwBadConversion(const Char *typeName)
const Char * typeName() const
const Char * typeName() const
Represents time point without time-zone information.
const Char * typeName() const
virtual bool convert(Decimal &, const ValueContainer &) const
bool convert(Decimal &value, const ValueContainer &container) const
void toStr(std::string &str, const ValueContainer &container) const
Value Result
Type of the conversion output.
bool convert(Int64 &value, const ValueContainer &container) const
const Char * items() const
Read-only content.
bool convert(UInt32 &value, const ValueContainer &container) const
const Char * typeName() const
size_t size() const
Number of chars.
const Char * typeName() const
virtual bool convert(UInt16 &, const ValueContainer &) const
virtual bool convert(UInt8 &, const ValueContainer &) const
char Char
Character type alias.
bool convert(Timestamp &value, const ValueContainer &container) const
const Char * typeName() const
Traits class used identify a field value kind.
virtual bool convert(MaturityMonthYear &, const ValueContainer &) const
const Char * typeName() const
#define ONIXS_CONFLATEDUDPFIX_NAMESPACE_END
Enumeration::Enum Result
Type of the conversion output.
bool convert(UInt16 &value, const ValueContainer &container) const
bool convert(UInt64 &value, const ValueContainer &container) const
bool convert(Int16 &value, const ValueContainer &container) const
virtual bool convert(Int16 &, const ValueContainer &) const
void toStr(std::string &str, const ValueContainer &container) const
bool convert(Int8 &value, const ValueContainer &container) const
bool convert(Decimal &value, const ValueContainer &container) const
bool empty() const
Indicates whether the referenced text is empty.
virtual bool convert(UInt32 &, const ValueContainer &) const
bool convert(Char &value, const ValueContainer &container) const
virtual void toStr(std::string &, const ValueContainer &) const
virtual bool convert(Char &, const ValueContainer &) const
bool convert(Int16 &value, const ValueContainer &container) const
ONIXS_CONFLATEDUDP_EXPORTED bool fromStr(Decimal &, const Char *, size_t)
bool convert(MaturityMonthYear &value, const ValueContainer &container) const
virtual bool convert(StrRef &, const ValueContainer &) const
#define ONIXS_CONFLATEDUDP_EXPORTED_STRUCT
bool convert(UInt64 &value, const ValueContainer &container) const
const Char * typeName() const
bool convert(StrRef &ref, const ValueContainer &container) const
bool convert(Int64 &value, const ValueContainer &container) const
bool convert(Int32 &value, const ValueContainer &container) const
void toStr(std::string &str, const ValueContainer &container) const
bool convert(UInt8 &value, const ValueContainer &container) const
bool convert(Timestamp &value, const ValueContainer &container) const
Identifies kinds of FIX field values.
DecimalMantissa Mantissa
Aliases mantissa component type.
bool convert(Int64 &value, const ValueContainer &container) const
bool convert(UInt16 &value, const ValueContainer &container) const
const Char * typeName() const
ValueConversionTraits< Value, ValueKind< Value >::Kind > Traits
Conversion traits.
const Char * typeName() const
const Char * typeName() const
bool value(Number &number, const MultiContainer &container, Tag tag)
bool convert(StrRef &ref, const ValueContainer &container) const
bool convert(Decimal &value, const ValueContainer &container) const
bool convert(UInt16 &value, const ValueContainer &container) const
static bool convert(Result &result, const ValueConverter &converter, const ValueContainer &container)
Enum
Identifies kinds of FIX field values.
void toStr(std::string &str, const ValueContainer &container) const
#define ONIXS_CONFLATEDUDPFIX_NAMESPACE_BEGIN
bool convert(Int64 &value, const ValueContainer &container) const
virtual bool convert(Timestamp &, const ValueContainer &) const
virtual bool convert(Int8 &, const ValueContainer &) const
BitSet Result
Type of the conversion output.
virtual bool convert(Int64 &, const ValueContainer &) const
bool convert(UInt8 &value, const ValueContainer &container) const
static BitSet convert(const ValueConverter &converter, const ValueContainer &container)
virtual bool convert(Int32 &, const ValueContainer &) const
bool convert(UInt64 &value, const ValueContainer &container) const
bool convert(Char &value, const ValueContainer &container) const
static Result convert(const ValueConverter &converter, const ValueContainer &container)
static Result convert(const ValueConverter &converter, const ValueContainer &container)
bool convert(Timestamp &, const ValueContainer &) const
bool convert(Decimal &value, const ValueContainer &container) const
bool convert(Int32 &value, const ValueContainer &container) const