EPAM B2BITS C++ Bovespa MarketData handler
1.27.1
|
It is used for storing the Contents information (data + length). More...
#include <b2bits/fix/FIXFieldValue.h>
Public Member Functions | |
FIXFieldValue () | |
Constructs empty sequence. More... | |
FIXFieldValue (const char *str) | |
Constructs object from null-terminated C-string. More... | |
FIXFieldValue (const char *data, std::size_t length) | |
Constructs object from char chain. More... | |
void | clear () |
Resets internal storage. More... | |
bool | isEmpty () const |
Verifies is sequence empty. More... | |
int | toSigned () const |
Returns signed numeric value of sequence. More... | |
i64 | toSigned64 () const |
u64 | toUnsigned64 () const |
unsigned int | toUnsigned () const |
bool | operator== (const FIXFieldValue &fieldValue) const |
bool | operator== (const char *val) const |
bool | operator!= (const FIXFieldValue &fieldValue) const |
Static Public Member Functions | |
static int | compare (const FIXFieldValue &firstValue, const FIXFieldValue &secondValue) |
Public Attributes | |
const char * | data_ |
Pointer to byte array. More... | |
std::size_t | length_ |
Length of sequence. More... | |
It is used for storing the Contents information (data + length).
|
inline |
Constructs empty sequence.
|
explicit |
Constructs object from null-terminated C-string.
|
inline |
Constructs object from char chain.
|
inline |
Resets internal storage.
|
static |
Compares two sequences in 'std::strcmp' style.
firstValue | lvalue |
secondValue | rvalue |
|
inline |
Verifies is sequence empty.
|
inline |
Compares two object. Based on compare() member.
fieldValue | Instance of FIXFieldValue to compare with. |
|
inline |
Compares two object. Based on compare() member.
fieldValue | Instance of FIXFieldValue to compare with. |
|
inline |
Compares with null-terminated char* std::string. Based on compare() member.
val | null-terminated std::string to compare with. |
int B2bits::FIXFieldValue::toSigned | ( | ) | const |
Returns signed numeric value of sequence.
i64 B2bits::FIXFieldValue::toSigned64 | ( | ) | const |
Returns signed 64bit numeric value of sequence.
std:exception | If value cannot be converted |
unsigned int B2bits::FIXFieldValue::toUnsigned | ( | ) | const |
Returns unsigned numeric value of sequence.
std:exception | If value cannot be converted |
u64 B2bits::FIXFieldValue::toUnsigned64 | ( | ) | const |
Returns signed 64bit numeric value of sequence.
std:exception | If value cannot be converted |
const char* B2bits::FIXFieldValue::data_ |
Pointer to byte array.
std::size_t B2bits::FIXFieldValue::length_ |
Length of sequence.