fix8
version 1.4.0
Open Source C++ FIX Framework
|
Partial specialisation for UTCTimestamp 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) | |
Field (const Tickval &val, const RealmBase *rlm=nullptr) | |
Field (const f8String &from, const RealmBase *rlm=nullptr) | |
Field (const char *from, const RealmBase *rlm=nullptr) | |
Field (const tm &from, const RealmBase *rlm=nullptr) | |
~Field () | |
Dtor. More... | |
Field & | operator= (const Field &that) |
Assignment operator. More... | |
bool | operator== (const BaseField &that) const |
Equivalence operator. More... | |
bool | operator< (const BaseField &that) const |
Less than operator. More... | |
bool | operator> (const BaseField &that) const |
Greater than operator. More... | |
const Tickval & | get () const |
const Tickval & | operator() () const |
void | set (const Tickval &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 |
virtual int | get_rlm_idx () 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... | |
Private Attributes | |
Tickval | _value |
Static Private Attributes | |
static const FieldTrait::FieldType | _ftype = FieldTrait::ft_string |
Additional Inherited Members | |
Protected Attributes inherited from FIX8::BaseField | |
const RealmBase * | _rlm |
Partial specialisation for UTCTimestamp field type.
field | field number (fix tag) |
|
inline |
Ctor.
Definition at line 1046 of file field.hpp.
|
inline |
Copy Ctor.
from | field to copy |
Definition at line 1050 of file field.hpp.
|
inline |
Value ctor.
val | value to set |
rlm | pointer to the realmbase for this field (if available) |
Definition at line 1055 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 1060 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 1065 of file field.hpp.
|
inline |
Construct from tm struct
from | string to construct field from |
rlm | tm struct with broken out values |
Definition at line 1070 of file field.hpp.
|
inline |
|
inlinevirtual |
Copy (clone) this field.
Implements FIX8::BaseField.
Definition at line 1117 of file field.hpp.
References FIX8::Field< T, field >::Field().
|
inline |
|
inlinestatic |
|
inlinevirtual |
The FieldType.
Implements FIX8::BaseField.
Definition at line 1043 of file field.hpp.
|
inline |
|
inlinevirtual |
Less than operator.
that | field to compare |
Implements FIX8::BaseField.
Definition at line 1094 of file field.hpp.
References FIX8::BaseField::same_base().
|
inline |
|
inlinevirtual |
Equivalence operator.
that | field to compare |
Implements FIX8::BaseField.
Definition at line 1088 of file field.hpp.
References FIX8::BaseField::same_base().
|
inlinevirtual |
Greater than operator.
that | field to compare |
Implements FIX8::BaseField.
Definition at line 1100 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 1122 of file field.hpp.
References FIX8::MAX_MSGTYPE_FIELD_LEN(), and FIX8::BaseField::print().
|
inlinevirtual |
Print this field to the supplied buffer.
to | buffer to print to |
Implements FIX8::BaseField.
Definition at line 1132 of file field.hpp.
References FIX8::_with_ms, and FIX8::date_time_format().
|
inline |
Set field to the supplied value.
from | value to set |
Definition at line 1113 of file field.hpp.
References FIX8::BaseField::from().
|
staticprivate |
|
private |