OnixS C++ eSpeed ITCH Market Data Handler 1.7.3
API documentation
Loading...
Searching...
No Matches
String.h File Reference

Go to the source code of this file.

Classes

class  StrRef

Functions

StrRef toStrRef (const std::string &str)
StrRef toStrRef (const Char *cStr)
std::string toStr (const StrRef &ref)
void toStr (std::string &str, const StrRef &ref)
std::string toStr (Char character)
void toStr (std::string &str, Char character)
void toStr (std::string &str, const std::string &value)
bool operator== (const StrRef &left, const StrRef &right)
bool operator!= (const StrRef &left, const StrRef &right)
bool operator== (const StrRef &ref, const std::string &str)
bool operator!= (const StrRef &ref, const std::string &str)
bool operator== (const std::string &str, const StrRef &ref)
bool operator!= (const std::string &str, const StrRef &ref)
bool operator== (const StrRef &ref, const Char *str)
bool operator!= (const StrRef &ref, const Char *str)
bool operator== (const Char *str, const StrRef &ref)
bool operator!= (const Char *str, const StrRef &ref)
bool operator< (const StrRef &left, const StrRef &right)
bool operator> (const StrRef &left, const StrRef &right)
std::ostream & operator<< (std::ostream &stream, const StrRef &text)

Variables

ONIXS_ESPEED_ITCH_NAMESPACE_BEGIN typedef char Char

Function Documentation

◆ operator!=() [1/5]

bool operator!= ( const Char * str,
const StrRef & ref )
inline

Compares StrRef with zero-terminated/C-like string.

Definition at line 404 of file String.h.

◆ operator!=() [2/5]

bool operator!= ( const std::string & str,
const StrRef & ref )
inline

Compares StrRef with std::string.

Definition at line 364 of file String.h.

◆ operator!=() [3/5]

bool operator!= ( const StrRef & left,
const StrRef & right )
inline

Compares with another instance.

Definition at line 324 of file String.h.

◆ operator!=() [4/5]

bool operator!= ( const StrRef & ref,
const Char * str )
inline

Compares StrRef with zero-terminated/C-like string.

Definition at line 384 of file String.h.

◆ operator!=() [5/5]

bool operator!= ( const StrRef & ref,
const std::string & str )
inline

Compares StrRef with std::string.

Definition at line 344 of file String.h.

◆ operator<()

bool operator< ( const StrRef & left,
const StrRef & right )
inline

Establishes order over string refs.

Definition at line 413 of file String.h.

◆ operator<<()

std::ostream & operator<< ( std::ostream & stream,
const StrRef & text )
inline

StrRef serialization operator.

Definition at line 449 of file String.h.

◆ operator==() [1/5]

bool operator== ( const Char * str,
const StrRef & ref )
inline

Compares StrRef with zero-terminated/C-like string.

Definition at line 394 of file String.h.

◆ operator==() [2/5]

bool operator== ( const std::string & str,
const StrRef & ref )
inline

Compares StrRef with std::string.

Definition at line 354 of file String.h.

◆ operator==() [3/5]

bool operator== ( const StrRef & left,
const StrRef & right )
inline

Compares StrRef instance with another one.

Definition at line 310 of file String.h.

◆ operator==() [4/5]

bool operator== ( const StrRef & ref,
const Char * str )
inline

Compares StrRef with zero-terminated/C-like string.

Definition at line 374 of file String.h.

◆ operator==() [5/5]

bool operator== ( const StrRef & ref,
const std::string & str )
inline

Compares StrRef with std::string.

Definition at line 334 of file String.h.

◆ operator>()

bool operator> ( const StrRef & left,
const StrRef & right )
inline

Establishes order over string refs.

Definition at line 440 of file String.h.

◆ toStr() [1/5]

std::string toStr ( Char character)
inline

Constructs std::string from a character.

Definition at line 281 of file String.h.

◆ toStr() [2/5]

std::string toStr ( const StrRef & ref)
inline

Constructs std::string instance from StrRef one.

Definition at line 262 of file String.h.

◆ toStr() [3/5]

void toStr ( std::string & str,
Char character )
inline

Appends character to given std::string instance.

Definition at line 290 of file String.h.

◆ toStr() [4/5]

void toStr ( std::string & str,
const std::string & value )
inline

Appends one string another one.

Definition at line 300 of file String.h.

◆ toStr() [5/5]

void toStr ( std::string & str,
const StrRef & ref )
inline

Appends text referenced by StrRef to given std::string instance.

Definition at line 271 of file String.h.

◆ toStrRef() [1/2]

StrRef toStrRef ( const Char * cStr)
inline

Initializes instance from zero-terminated/C-like string.

Definition at line 247 of file String.h.

◆ toStrRef() [2/2]

StrRef toStrRef ( const std::string & str)
inline

Constructs StrRef instance over std::string content.

Definition at line 238 of file String.h.

Variable Documentation

◆ Char

Character type alias.

Definition at line 37 of file String.h.