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

Partial specialisation for NumInGroup field type. More...

#include <field.hpp>

Inheritance diagram for FIX8::Field< NumInGroup, 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< NumInGroup, field >

Partial specialisation for NumInGroup field type.

Template Parameters
fieldfield number (fix tag)

Definition at line 1845 of file field.hpp.

Constructor & Destructor Documentation

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

Ctor. Compiler won't supply this method.

Definition at line 1849 of file field.hpp.

1849 : Field<int, field>() {}
template<unsigned short field>
FIX8::Field< NumInGroup, 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 1854 of file field.hpp.

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

Copy Ctor.

Definition at line 1858 of file field.hpp.

1858 : Field<int, field>(from) {}
template<unsigned short field>
FIX8::Field< NumInGroup, 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 1863 of file field.hpp.

1863 : Field<int, field>(from, rlm) {}
template<unsigned short field>
FIX8::Field< NumInGroup, 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 1868 of file field.hpp.

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

Dtor.

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

Definition at line 1871 of file field.hpp.

1871 {}

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