fix8  version 1.4.0
Open Source C++ FIX Framework
FIX8::Field< DayOfMonth, field > Class Template Reference

Partial specialisation for DayOfMonth field type. More...

#include <field.hpp>

Inheritance diagram for FIX8::Field< DayOfMonth, field >:
FIX8::Field< int, field > FIX8::BaseField

Public Member Functions

 Field ()
 Ctor. Compiler won't supply this method. More...
 
 Field (const unsigned &val, const RealmBase *rlm=nullptr)
 
 Field (const Field &from)
 Copy Ctor. More...
 
 Field (const f8String &from, const RealmBase *rlm=nullptr)
 
 Field (const char *from, const RealmBase *rlm=nullptr)
 
 ~Field ()
 Dtor. More...
 
- Public Member Functions inherited from FIX8::Field< int, field >
FieldTrait::FieldType get_underlying_type () const
 The FieldType. More...
 
 Field ()
 Ctor. More...
 
 Field (const Field &from)
 Copy Ctor. More...
 
 Field (const int val, const RealmBase *rlm=nullptr)
 
 Field (const f8String &from, const RealmBase *rlm=nullptr)
 
 Field (const char *from, const RealmBase *rlm=nullptr)
 
Fieldoperator= (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...
 
bool is_valid () const
 
int get_rlm_idx () const
 
const int & get () const
 
const int & operator() () const
 
const int & set (const int &from)
 
const int & set_from_raw (const f8String &from)
 
Fieldcopy ()
 
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 RealmBaseget_realm () const
 

Additional Inherited Members

- Static Public Member Functions inherited from FIX8::Field< int, field >
static unsigned short get_field_id ()
 Get the FIX fieldID (tag number). More...
 
- Protected Attributes inherited from FIX8::Field< int, field >
int _value
 
- Protected Attributes inherited from FIX8::BaseField
const RealmBase_rlm
 
- Static Protected Attributes inherited from FIX8::Field< int, field >
static const FieldTrait::FieldType _ftype = FieldTrait::ft_int
 

Detailed Description

template<unsigned short field>
class FIX8::Field< DayOfMonth, field >

Partial specialisation for DayOfMonth field type.

Template Parameters
fieldfield number (fix tag)

Definition at line 1880 of file field.hpp.

Constructor & Destructor Documentation

template<unsigned short field>
FIX8::Field< DayOfMonth, field >::Field ( )
inline

Ctor. Compiler won't supply this method.

Definition at line 1884 of file field.hpp.

1884 : Field<int, field>() {}
template<unsigned short field>
FIX8::Field< DayOfMonth, field >::Field ( const unsigned &  val,
const RealmBase rlm = nullptr 
)
inline

Value ctor.

Parameters
valvalue to set
rlmpointer to the realmbase for this field (if available)

Definition at line 1889 of file field.hpp.

1889 : Field<int, field>(val, rlm) {}
template<unsigned short field>
FIX8::Field< DayOfMonth, field >::Field ( const Field< DayOfMonth, field > &  from)
inline

Copy Ctor.

Definition at line 1893 of file field.hpp.

1893 : Field<int, field>(from) {}
template<unsigned short field>
FIX8::Field< DayOfMonth, field >::Field ( const f8String from,
const RealmBase rlm = nullptr 
)
inline

Construct from string ctor.

Parameters
fromstring to construct field from
rlmpointer to the realmbase for this field (if available)

Definition at line 1898 of file field.hpp.

1898 : Field<int, field>(from, rlm) {}
template<unsigned short field>
FIX8::Field< DayOfMonth, field >::Field ( const char *  from,
const RealmBase rlm = nullptr 
)
inline

Construct from char * ctor.

Parameters
fromchar * to construct field from
rlmpointer to the realmbase for this field (if available)

Definition at line 1903 of file field.hpp.

1903 : Field<int, field>(from, rlm) {}
template<unsigned short field>
FIX8::Field< DayOfMonth, field >::~Field ( )
inlinevirtual

Dtor.

Reimplemented from FIX8::Field< int, field >.

Definition at line 1906 of file field.hpp.

1906 {}

The documentation for this class was generated from the following file: