OnixS C++ CME iLink 3 Binary Order Entry Handler 1.19.0
API Documentation
Loading...
Searching...
No Matches
StrRefConverter Struct Referencefinal

Public Member Functions

const ChartypeName () const noexcept override
void toStr (std::string &str, const ValueContainer &container) const override
StrRef toStr (Char *, size_t, const ValueContainer &container) const noexcept override
bool convert (StrRef &ref, const ValueContainer &container) const noexcept override
bool convert (Char &value, const ValueContainer &container) const noexcept override
bool convert (Int8 &value, const ValueContainer &container) const noexcept override
bool convert (UInt8 &value, const ValueContainer &container) const noexcept override
bool convert (Int16 &value, const ValueContainer &container) const noexcept override
bool convert (UInt16 &value, const ValueContainer &container) const noexcept override
bool convert (Int32 &value, const ValueContainer &container) const noexcept override
bool convert (UInt32 &value, const ValueContainer &container) const noexcept override
bool convert (Int64 &value, const ValueContainer &container) const noexcept override
bool convert (UInt64 &value, const ValueContainer &container) const noexcept override
bool convert (Decimal &value, const ValueContainer &container) const noexcept override
bool convert (Timestamp &value, const ValueContainer &container) const override
virtual bool convert (MaturityMonthYear &, const ValueContainer &) const noexcept

Static Public Member Functions

static const ValueConverterself () noexcept

Protected Member Functions

 ~StrRefConverter ()=default
Protected Member Functions inherited from ValueConverter
 ~ValueConverter ()=default

Detailed Description

Definition at line 181 of file ValueConverters.h.

Constructor & Destructor Documentation

◆ ~StrRefConverter()

~StrRefConverter ( )
protecteddefault

Member Function Documentation

◆ convert() [1/13]

bool convert ( Char & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into a character.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 225 of file ValueConverters.h.

◆ convert() [2/13]

bool convert ( Decimal & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into a Decimal.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 387 of file ValueConverters.h.

◆ convert() [3/13]

bool convert ( Int16 & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 285 of file ValueConverters.h.

◆ convert() [4/13]

bool convert ( Int32 & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 319 of file ValueConverters.h.

◆ convert() [5/13]

bool convert ( Int64 & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 353 of file ValueConverters.h.

◆ convert() [6/13]

bool convert ( Int8 & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 251 of file ValueConverters.h.

◆ convert() [7/13]

virtual bool convert ( MaturityMonthYear & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into a month-year.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 157 of file ValueConverters.h.

◆ convert() [8/13]

bool convert ( StrRef & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into a string reference.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 215 of file ValueConverters.h.

◆ convert() [9/13]

bool convert ( Timestamp & ,
const ValueContainer &  ) const
inlineoverridevirtual

Tries to convert the value into a timestamp.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 404 of file ValueConverters.h.

◆ convert() [10/13]

bool convert ( UInt16 & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 302 of file ValueConverters.h.

◆ convert() [11/13]

bool convert ( UInt32 & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 336 of file ValueConverters.h.

◆ convert() [12/13]

bool convert ( UInt64 & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 370 of file ValueConverters.h.

◆ convert() [13/13]

bool convert ( UInt8 & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 268 of file ValueConverters.h.

◆ self()

const ValueConverter & self ( )
staticnoexcept

◆ toStr() [1/2]

StrRef toStr ( Char * ,
size_t ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept
Returns
the text presentation of the value.

Reimplemented from ValueConverter.

Definition at line 208 of file ValueConverters.h.

◆ toStr() [2/2]

void toStr ( std::string & ,
const ValueContainer &  ) const
inlineoverridevirtual

Outputs the text presentation of the value stored in the given container into the given string.

Reimplemented from ValueConverter.

Definition at line 192 of file ValueConverters.h.

◆ typeName()

const Char * typeName ( ) const
inlineoverridevirtualnoexcept

The name of the type whose values are manipulated through the given converter.

Implements ValueConverter.

Definition at line 186 of file ValueConverters.h.