OnixS C++ FIX Engine  4.10.1
API Documentation
SbeConstFieldAccess Class Reference

#include <OnixS/FIXEngine/FIX/SbeCustomization.h>

Public Member Functions

 ~SbeConstFieldAccess () ONIXS_FIXENGINE_DEFAULT
 
Tag tag () const
 
SbeFieldMetaData fieldMetaData () const
 
bool present () const
 
bool toString (std::string &) const
 
bool toChar (Char &) const
 
bool toNumber (Int32 &) const
 
bool toNumber (UInt32 &) const
 
bool toNumber (Int64 &) const
 
bool toNumber (UInt64 &) const
 
bool toNumber (Double &) const
 
bool toNumber (Decimal &) const
 
bool toTimestamp (Timestamp &, TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSNsec) const
 
bool toTimeSpan (TimeSpan &, TimeSpanFormat::Enum=TimeSpanFormat::HHMMSSMsec) const
 

Protected Member Functions

 SbeConstFieldAccess ()
 
 SbeConstFieldAccess (Tag tag, const void *, const void *)
 

Protected Attributes

Tag tag_
 
const void * details_
 
const void * details2_
 

Friends

SbeConstFieldAccess createSbeConstFieldAccess (Tag tag, const void *, const void *)
 

Detailed Description

Definition at line 908 of file SbeCustomization.h.

Constructor & Destructor Documentation

SbeConstFieldAccess ( )
inlineprotected

Definition at line 955 of file SbeCustomization.h.

SbeConstFieldAccess ( Tag  tag,
const void *  ,
const void *   
)
protected

Member Function Documentation

SbeFieldMetaData fieldMetaData ( ) const

The complete metadata of the field that is encoded (contains the same tag as one returned by the tag() method).

bool present ( ) const

Checks if the field value is null.

Tag tag ( ) const

The tag of the field that is being encoded.

bool toChar ( Char ) const

Tries to convert the field value to the char.

bool toNumber ( Int32 ) const

Tries to convert the field value to the 32-bits signed integer.

bool toNumber ( UInt32 ) const

Tries to convert the field value to the 32-bits unsigned integer.

bool toNumber ( Int64 ) const

Tries to convert the field value to the 64-bits signed integer.

bool toNumber ( UInt64 ) const

Tries to convert the field value to the 64-bits unsigned integer.

bool toNumber ( Double ) const

Tries to convert the field value to the double value.

bool toNumber ( Decimal ) const

Tries to convert the field value to the decimal.

bool toString ( std::string &  ) const

Tries to convert the field value to the string.

bool toTimeSpan ( TimeSpan ,
TimeSpanFormat::Enum  = TimeSpanFormat::HHMMSSMsec 
) const

Tries to convert the field value to the timespan using the particular formatter.

Tries to convert the field value to the timestamp using the particular formatter.

Friends And Related Function Documentation

SbeConstFieldAccess createSbeConstFieldAccess ( Tag  tag,
const void *  ,
const void *   
)
friend

Member Data Documentation

const void* details2_
protected

Definition at line 959 of file SbeCustomization.h.

const void* details_
protected

Definition at line 958 of file SbeCustomization.h.

Tag tag_
protected

Definition at line 957 of file SbeCustomization.h.


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