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

#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

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 91 of file FlatFieldRefAndKey.h.

Constructor & Destructor Documentation

FlatFieldKey ( )
inline

Initializes as a non-valid key.

Definition at line 95 of file FlatFieldRefAndKey.h.

FlatFieldKey ( size_t  key)
inlineexplicit

Definition at line 100 of file FlatFieldRefAndKey.h.

Member Function Documentation

operator size_t ( ) const
inline

Implicit conversion to the index value.

Definition at line 105 of file FlatFieldRefAndKey.h.

bool operator!= ( const FlatFieldKey other) const
inline

Compares to the given instance.

Definition at line 118 of file FlatFieldRefAndKey.h.

bool operator== ( const FlatFieldKey other) const
inline

Compares to the given instance.

Definition at line 111 of file FlatFieldRefAndKey.h.

Friends And Related Function Documentation

friend struct KnownFlatFieldKeys
friend

Definition at line 125 of file FlatFieldRefAndKey.h.


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