OnixS C++ SGX Titan OUCH Trading Handler  1.2.0
API documentation
String< N, FILLER, Traits > Struct Template Reference

#include </work/src/Defines.h>

Public Member Functions

size_t size () const
 
 String ()
 
 String (const std::string &value)
 
 String (const char *value)
 
 String (Byte value)
 
std::string toString () const
 
StrRef toStrRef () const
 
String< N, FILLER, Traits > & operator= (const std::string &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, typename Traits = RightPaddedStringTraits>
struct OnixS::SgxTitan::Trading::Ouch::String< N, FILLER, Traits >

Definition at line 33 of file Defines.h.

Constructor & Destructor Documentation

String ( )
inline

Definition at line 43 of file Defines.h.

String ( const std::string &  value)
inlineexplicit

Definition at line 49 of file Defines.h.

String ( const char *  value)
inlineexplicit

Definition at line 55 of file Defines.h.

String ( Byte  value)
inlineexplicit

Definition at line 61 of file Defines.h.

Member Function Documentation

bool operator!= ( const String< N > &  other) const
inline

Compares with another instance.

Definition at line 93 of file Defines.h.

String<N, FILLER, Traits>& operator= ( const std::string &  value)
inline

Sets value from std::string.

Definition at line 79 of file Defines.h.

bool operator== ( const String< N > &  other) const
inline

Compares with another instance.

Definition at line 87 of file Defines.h.

size_t size ( ) const
inline

Definition at line 38 of file Defines.h.

std::string toString ( ) const
inline

Returns string representation.

Definition at line 67 of file Defines.h.

StrRef toStrRef ( ) const
inline

Constructs StrRef instance.

Definition at line 73 of file Defines.h.

Member Data Documentation

Byte data[N]

Definition at line 35 of file Defines.h.


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