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

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

Public Member Functions

 FlatFieldRef ()
 
 FlatFieldRef (size_t valueOffset, size_t valueSize)
 
size_t valueOffset () const
 
size_t valueSize () const
 
 operator bool () const
 
bool operator== (const FlatFieldRef &other) const
 
bool operator!= (const FlatFieldRef &other) const
 

Detailed Description

Note
Reference remains valid since the moment it is obtained till the moment any other field of the same Serialized message is modified.

Definition at line 32 of file FlatFieldRefAndKey.h.

Constructor & Destructor Documentation

FlatFieldRef ( )
inline

Initializes as a references to nothing.

Definition at line 36 of file FlatFieldRefAndKey.h.

FlatFieldRef ( size_t  valueOffset,
size_t  valueSize 
)
inline

Message only should use this constructor to initialize a valid reference.

Definition at line 42 of file FlatFieldRefAndKey.h.

Member Function Documentation

operator bool ( ) const
inline

Indicates whether the instance refers to the field or not.

Definition at line 57 of file FlatFieldRefAndKey.h.

bool operator!= ( const FlatFieldRef other) const
inline

Compares the instance with the given one.

Definition at line 72 of file FlatFieldRefAndKey.h.

bool operator== ( const FlatFieldRef other) const
inline

Compares the instance with the given one.

Definition at line 63 of file FlatFieldRefAndKey.h.

size_t valueOffset ( ) const
inline

Gets value offset.

Definition at line 47 of file FlatFieldRefAndKey.h.

size_t valueSize ( ) const
inline

Gets value size.

Definition at line 52 of file FlatFieldRefAndKey.h.


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