fix8
version 1.4.0
Open Source C++ FIX Framework
|
Partial specialisation for f8String field type. More...
#include <field.hpp>
Public Member Functions | |
FieldTrait::FieldType | get_underlying_type () const |
The FieldType. More... | |
Field () | |
Ctor. More... | |
Field (const Field &from) | |
Copy Ctor. More... | |
Field (const char *from, const RealmBase *rlm=nullptr) | |
Field (const f8String &from, const RealmBase *rlm=nullptr) | |
virtual | ~Field () |
Dtor. More... | |
Field & | operator= (const Field &that) |
Assignment operator. More... | |
bool | operator== (const BaseField &that) const |
Equivalence operator. More... | |
virtual bool | operator< (const BaseField &that) const |
Less than operator. More... | |
virtual bool | operator> (const BaseField &that) const |
Greater than operator. More... | |
bool | is_valid () const |
int | get_rlm_idx () const |
const f8String & | get () const |
const f8String & | operator() () const |
const f8String & | set (const f8String &from) |
const f8String & | set_from_raw (const f8String &from) |
Field * | copy () |
std::ostream & | print (std::ostream &os) const |
size_t | print (char *to) const |
Public Member Functions inherited from FIX8::BaseField | |
BaseField (unsigned short fnum, const RealmBase *rlm=nullptr) | |
virtual | ~BaseField () |
Dtor. More... | |
unsigned short | get_tag () const |
template<typename T > | |
T & | from () |
template<typename T > | |
const T * | as () const |
size_t | encode (std::ostream &os) const |
size_t | encode (char *to) const |
bool | same_base (const BaseField &that) const |
BaseField Equivalence test. More... | |
bool | operator!= (const BaseField &that) const |
Inequivalence operator. More... | |
bool | operator<= (const BaseField &that) const |
Less or equal to operator. More... | |
bool | operator>= (const BaseField &that) const |
Greater or equal to operator. More... | |
const RealmBase * | get_realm () const |
Static Public Member Functions | |
static unsigned short | get_field_id () |
Get the FIX fieldID (tag number). More... | |
Protected Attributes | |
f8String | _value |
Protected Attributes inherited from FIX8::BaseField | |
const RealmBase * | _rlm |
Static Protected Attributes | |
static const FieldTrait::FieldType | _ftype = FieldTrait::ft_data |
Partial specialisation for f8String field type.
field | field number (fix tag) |
|
inline |
Ctor.
Definition at line 504 of file field.hpp.
|
inline |
Copy Ctor.
Definition at line 508 of file field.hpp.
|
inline |
Construct from char * ctor.
from | char * to construct field from |
rlm | pointer to the realmbase for this field (if available) |
Definition at line 513 of file field.hpp.
|
inline |
Construct from string ctor.
from | string to construct field from |
rlm | pointer to the realmbase for this field (if available) |
Definition at line 518 of file field.hpp.
|
inlinevirtual |
|
inlinevirtual |
Copy (clone) this field.
Implements FIX8::BaseField.
Definition at line 579 of file field.hpp.
References FIX8::Field< T, field >::Field().
|
inline |
|
inlinestatic |
|
inlinevirtual |
Get the realm index of this value in the domain set.
Reimplemented from FIX8::BaseField.
Definition at line 557 of file field.hpp.
References FIX8::BaseField::_rlm, and FIX8::RealmBase::get_rlm_idx().
|
inlinevirtual |
The FieldType.
Implements FIX8::BaseField.
Definition at line 501 of file field.hpp.
|
inline |
Check if this value is a member/in range of the domain set.
Definition at line 553 of file field.hpp.
References FIX8::BaseField::_rlm, and FIX8::RealmBase::is_valid().
|
inline |
|
inlinevirtual |
Less than operator.
that | field to compare |
Implements FIX8::BaseField.
Definition at line 542 of file field.hpp.
References FIX8::BaseField::same_base().
|
inline |
|
inlinevirtual |
Equivalence operator.
that | field to compare |
Implements FIX8::BaseField.
Definition at line 536 of file field.hpp.
References FIX8::BaseField::same_base().
|
inlinevirtual |
Greater than operator.
that | field to compare |
Implements FIX8::BaseField.
Definition at line 548 of file field.hpp.
References FIX8::BaseField::same_base().
|
inlinevirtual |
Print this field to the supplied stream. Used to format for FIX output.
os | stream to insert to |
Implements FIX8::BaseField.
Definition at line 584 of file field.hpp.
|
inlinevirtual |
Print this field to the supplied buffer.
to | buffer to print to |
Implements FIX8::BaseField.
Definition at line 589 of file field.hpp.
|
inline |
Get field value.
from | value to set |
Definition at line 570 of file field.hpp.
References FIX8::BaseField::from().
|
inline |
Set the value from a string.
from | value to set |
Definition at line 575 of file field.hpp.
References FIX8::BaseField::from().
|
staticprotected |
|
protected |