OnixS C++ FIX Engine  4.7.0
API Documentation
FlatFieldKey Class Reference

#include </work/build/include/OnixS/FIXEngine/FIX/FlatFieldRefAndKey.h>

Public Member Functions

 FlatFieldKey ()
 
 FlatFieldKey (size_t key)
 
 operator size_t () const
 
bool operator== (const FlatFieldKey &other) const
 
bool operator!= (const FlatFieldKey &other) const
 

Friends

class OnixS::FIX::Core::Messaging::Extras:: FlatMessage
 
struct KnownFlatFieldKeys
 

Detailed Description

In contrast to FlatFieldRef, FlatFieldKey remains constant and valid during all the life of serialized message object. So they are suitable in case of multiple modifications of the same field.

Definition at line 102 of file FlatFieldRefAndKey.h.

Constructor & Destructor Documentation

FlatFieldKey ( )
inline

Initializes as a non-valid key.

Definition at line 106 of file FlatFieldRefAndKey.h.

FlatFieldKey ( size_t  key)
inlineexplicit

Definition at line 111 of file FlatFieldRefAndKey.h.

Member Function Documentation

operator size_t ( ) const
inline

Implicit conversion to the index value.

Definition at line 116 of file FlatFieldRefAndKey.h.

bool operator!= ( const FlatFieldKey other) const
inline

Compares to the given instance.

Definition at line 129 of file FlatFieldRefAndKey.h.

bool operator== ( const FlatFieldKey other) const
inline

Compares to the given instance.

Definition at line 122 of file FlatFieldRefAndKey.h.

Friends And Related Function Documentation

friend struct KnownFlatFieldKeys
friend

Definition at line 139 of file FlatFieldRefAndKey.h.

friend class OnixS::FIX::Core::Messaging::Extras:: FlatMessage
friend

Definition at line 137 of file FlatFieldRefAndKey.h.


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