#include <OnixS/FIXEngine/FIX/FieldValueRef.h>
Definition at line 32 of file FieldValueRef.h.
The shallow copy from another one.
operator std::string |
( |
| ) |
const |
|
inline |
Return the string presentation of the value being referenced.
Definition at line 238 of file FieldValueRef.h.
Compares with another instance for inequality.
Compares the string presentation for equality with the given text reference.
Updates an instance to refer to another field value.
- Warning
- Does NOT perform a deep copy of field values. Just updates a reference to point to the value of other field.
Compares with another instance for equality.
Compares the string presentation for equality with given text reference.
bool toChar |
( |
char & |
| ) |
const |
If the value represent a one-char text, copies it into the given variable.
- Returns
- false if the conversion fails (for example, the stored value is the whole number assigned to a field using the OnixS::FIX::FieldSet::setV member).
- Warning
- Due to performance considerations doesn't check whether an instance refers to a valid value. Use the OnixS::FIX::FieldValueRef::operator bool() member to check an instance for a validness.
bool toGroup |
( |
Group & |
| ) |
const |
If a repeating group is associated with the field, allows to get an instance of it.
- Returns
- false if no group is associated with the field.
- Warning
- Due to performance considerations doesn't check whether an instance refers to a valid value. Use the OnixS::FIX::FieldValueRef::operator bool() member to check an instance for a validness.
bool toNumber |
( |
Int32 & |
| ) |
const |
Converts the field value into the whole number.
- Returns
- false if the conversion fails.
- Warning
- Due to performance considerations doesn't check whether an instance refers to a valid value. Use the OnixS::FIX::FieldValueRef::operator bool() member to check an instance for a validness.
bool toNumber |
( |
UInt32 & |
| ) |
const |
Converts the field value into the whole number.
- Returns
- false if the conversion fails.
- Warning
- Due to performance considerations doesn't check whether an instance refers to a valid value. Use the OnixS::FIX::FieldValueRef::operator bool() member to check an instance for a validness.
bool toNumber |
( |
Int64 & |
| ) |
const |
Converts the field value into the whole number.
- Returns
- false if the conversion fails.
- Warning
- Due to performance considerations doesn't check whether an instance refers to a valid value. Use the OnixS::FIX::FieldValueRef::operator bool() member to check an instance for a validness.
bool toNumber |
( |
UInt64 & |
| ) |
const |
Converts the field value into the whole number.
- Returns
- false if the conversion fails.
- Warning
- Due to performance considerations doesn't check whether an instance refers to a valid value. Use the OnixS::FIX::FieldValueRef::operator bool() member to check an instance for a validness.
bool toNumber |
( |
Double & |
| ) |
const |
Converts the field value into the floating point value.
- Returns
- false if the conversion fails.
- Warning
- Due to performance considerations doesn't check whether an instance refers to a valid value. Use the OnixS::FIX::FieldValueRef::operator bool() member to check an instance for a validness.
Converts the field value into the floating point value.
- Returns
- false if the conversion fails.
- Warning
- Due to performance considerations doesn't check whether an instance refers to a valid value. Use the OnixS::FIX::FieldValueRef::operator bool() member to check an instance for a validness.
void toString |
( |
std::string & |
| ) |
const |
Appends a copy of a text presentation to the std::string.
std::string toString |
( |
| ) |
const |
|
inline |
Return the string presentation of the field value.
Definition at line 249 of file FieldValueRef.h.
If the value represents a text, returns a reference to it.
- Returns
- false if the conversion fails (for example, the stored value is the whole number assigned to a field using the OnixS::FIX::FieldSet::setV member), otherwise - true.
- Warning
- Due to performance considerations doesn't check whether an instance refers to a valid value. Use the OnixS::FIX::FieldValueRef::operator bool() member to check an instance for a validness.
If the value represents a text, returns a reference to it.
- Returns
- An empty StringRef if the conversion fails (for example, the stored value is the whole number assigned to a field using the OnixS::FIX::FieldSet::setV member), otherwise - valid StringRef.
- Warning
- Due to performance considerations doesn't check whether an instance refers to a valid value. Use the OnixS::FIX::FieldValueRef::operator bool() member to check an instance for a validness.
Definition at line 226 of file FieldValueRef.h.
Converts the field value into the timespan.
- Returns
- false if the conversion fails.
- Warning
- Due to performance considerations doesn't check whether an instance refers to a valid value. Use the OnixS::FIX::FieldValueRef::operator bool() member to check an instance for a validness.
Converts the field value into the timestamp of the requested format.
- Returns
- false if the conversion fails.
- Warning
- Due to performance considerations doesn't check whether an instance refers to a valid value. Use the OnixS::FIX::FieldValueRef::operator bool() member to check an instance for a validness.
Indicated whether the instance refers to a valid value.
friend class MessageOperator |
|
friend |
The documentation for this class was generated from the following file: