OnixS C++ CBOE CFE Binary Order Entry (BOE) Handler 1.12.0
API documentation
Loading...
Searching...
No Matches
String< N, FILLER > Struct Template Reference

Public Member Functions

size_t size () const
 String ()
 String (const std::string &value)
 String (Byte value)
std::string toString () const
StrRef toStrRef () const ONIXS_BATS_BOE_NOEXCEPT
 operator StrRef () const ONIXS_BATS_BOE_NOEXCEPT
String< N > & operator= (const StrRef value)
bool operator== (const String< N > &other) const
bool operator!= (const String< N > &other) const

Public Attributes

Byte data [N]

Detailed Description

template<size_t N, Byte FILLER = 0>
struct OnixS::CboeCFE::Trading::BOE::String< N, FILLER >

Definition at line 57 of file Defines.h.

Constructor & Destructor Documentation

◆ String() [1/3]

template<size_t N, Byte FILLER = 0>
String ( )
inline

Definition at line 67 of file Defines.h.

◆ String() [2/3]

template<size_t N, Byte FILLER = 0>
String ( const std::string & value)
inline

Definition at line 72 of file Defines.h.

◆ String() [3/3]

template<size_t N, Byte FILLER = 0>
String ( Byte value)
inline

Definition at line 77 of file Defines.h.

Member Function Documentation

◆ operator StrRef()

template<size_t N, Byte FILLER = 0>
operator StrRef ( ) const
inline

Cast to StrRef operator.

Definition at line 95 of file Defines.h.

◆ operator!=()

template<size_t N, Byte FILLER = 0>
bool operator!= ( const String< N > & other) const
inline

Compares with another instance.

Definition at line 115 of file Defines.h.

◆ operator=()

template<size_t N, Byte FILLER = 0>
String< N > & operator= ( const StrRef value)
inline

Sets value from StrRef.

Definition at line 101 of file Defines.h.

◆ operator==()

template<size_t N, Byte FILLER = 0>
bool operator== ( const String< N > & other) const
inline

Compares with another instance.

Definition at line 109 of file Defines.h.

◆ size()

template<size_t N, Byte FILLER = 0>
size_t size ( ) const
inline

Definition at line 62 of file Defines.h.

◆ toString()

template<size_t N, Byte FILLER = 0>
std::string toString ( ) const
inline

Returns string representation.

Definition at line 83 of file Defines.h.

◆ toStrRef()

template<size_t N, Byte FILLER = 0>
StrRef toStrRef ( ) const
inline

Constructs StrRef instance.

Definition at line 89 of file Defines.h.

Member Data Documentation

◆ data

template<size_t N, Byte FILLER = 0>
Byte data[N]

Definition at line 59 of file Defines.h.