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

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

Public Member Functions

const std::string & name () const
 
const std::string & description () const
 
bool hasSchema () const ONIXS_FIXENGINE_OVERRIDE
 
SbeSchemaMetaData schema () const ONIXS_FIXENGINE_OVERRIDE
 
unsigned sinceVersion () const
 
bool isSet () const
 
bool isEnumeration () const
 
bool isComposite () const
 
bool isSimple () const
 
bool isArray () const
 
SbePrimitiveType::Enum primitiveType () const
 
SbeWireSize fixedSize () const
 
SbeWireSize arraySize () const
 
SbeWireSize localOffset () const
 
SbePresence::Enum presence () const
 
const std::string & nullValue () const
 
const std::string & minValue () const
 
const std::string & maxValue () const
 
const std::string & constValue () const
 
SbeFixSemanticType::Enum semanticType () const
 
const std::string & rawSemanticType () const
 
const std::string & timeEpoch () const
 
const std::string & timeUnit () const
 
size_t noOfMembers () const
 
SbeTypeMetaData member (size_t) const
 
size_t noOfValues () const
 
SbeNamedValueMetaData value (size_t) const
 
- Public Member Functions inherited from ISbeNameDescription
virtual ~ISbeNameDescription () ONIXS_FIXENGINE_DEFAULT
 

Friends

SbeTypeMetaData createSbeTypeMetaData (const void *)
 

Detailed Description

Definition at line 279 of file SbeCustomization.h.

Member Function Documentation

SbeWireSize arraySize ( ) const

The length of the fixed-length array.

const std::string& constValue ( ) const

The constant value (if applicable).

Returns
The constant value if it applicable to the type; an empty string otherwise.
const std::string& description ( ) const
virtual

The description of the type.

Implements ISbeNameDescription.

SbeWireSize fixedSize ( ) const

The size of the type.

Returns
0 if the type is a variadic-length type or fixed size of the type in bytes.
bool hasSchema ( ) const
virtual

Return true for most of such objects.

Implements ISchemaMember.

bool isArray ( ) const

Checks if the object describes an SBE array.

bool isComposite ( ) const

Checks if the object describes an SBE composite.

bool isEnumeration ( ) const

Checks if the object describes an SBE enumeration.

bool isSet ( ) const

Checks if the object describes an SBE set.

bool isSimple ( ) const

Checks if the object describes a simple SBE type.

The simple type is a type that consists of a single field. This differs it against composites, arrays or field sets.

SbeWireSize localOffset ( ) const

The local offset of the object.

const std::string& maxValue ( ) const

The maximum value (if applicable).

Returns
The maximum possible value if it applicable to the type; an empty string otherwise.
SbeTypeMetaData member ( size_t  ) const

The metadata of the particular composite member.

const std::string& minValue ( ) const

The minimum value (if applicable).

Returns
The minimum possible value if it applicable to the type; an empty string otherwise.
const std::string& name ( ) const
virtual

The name of the type.

Implements ISbeNameDescription.

size_t noOfMembers ( ) const

The number of composite type members.

size_t noOfValues ( ) const

The number of values for the multivalue type.

const std::string& nullValue ( ) const

The null value (if applicable).

Returns
The null value if it applicable to the type; an empty string otherwise.
SbePresence::Enum presence ( ) const

The presence of the type.

SbePrimitiveType::Enum primitiveType ( ) const

Primitive type that is used by the given type.

const std::string& rawSemanticType ( ) const

The string presentation of the FIX semantic type.

SbeSchemaMetaData schema ( ) const
virtual

The schema metadata.

Implements ISchemaMember.

SbeFixSemanticType::Enum semanticType ( ) const

The FIX semantic type of the type if applicable.

unsigned sinceVersion ( ) const

The earliest version of the scheme where the type appears.

const std::string& timeEpoch ( ) const

The epoch for the time-aware type.

const std::string& timeUnit ( ) const

The time unit for the time-aware type.

SbeNamedValueMetaData value ( size_t  ) const

The metadata of the particular value.

Friends And Related Function Documentation

SbeTypeMetaData createSbeTypeMetaData ( const void *  )
friend

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