Represents value of field. More...
#include <B2BITS_TagValue.h>
Public Types | |
| typedef FieldValueT< TagValueT > | MyT |
| Short name of this instantiation. | |
Public Member Functions | |
| bool | equal (Integer value) const |
| Compares field value with passed value. | |
| bool | equal (char value) const |
| Compares field value with passed value. | |
| bool | equal (bool value) const |
| Compares field value with passed value. | |
| bool | equal (UInteger value) const |
| Compares field value with passed value. | |
| bool | equal (ByteArray value) const |
| Compares field value with passed value. | |
| bool | equal (AsciiString value) const |
| Compares field value with passed value. | |
| bool | equal (MyT value) const |
| Compares field value with passed value. | |
| bool | equal (char const *value) const |
| Compares field value with passed value. | |
| bool | equal (Decimal value) const |
| Compares field value with passed value. | |
| bool | equal (double value) const |
| Compares field value with passed value. | |
| template<typename T > | |
| bool | equal (FieldValueT< T > value) const |
| Compares field value with passed value. | |
| FieldValueT (TagValueT *aTv, int aTag) | |
| Constructor. | |
| bool | isEmpty () const |
| Returns true if value is empty; false otherwise. | |
| void | reset () |
| Clears value of the field. | |
| int | tag () const |
| Returns tag of the field. | |
| bool | toBoolean () const |
| Returns value as byte array. | |
| char | toChar () const |
| Returns value as char. | |
| UTCDateOnly | toDateOnly () const |
| Returns value as DateOnly. | |
| Decimal | toDecimal () const |
| Returns value as Decimal. | |
| double | toDouble () const |
| Returns value as double. | |
| FIXGroup & | toGroup () |
| Returns value as repeating group. | |
| FIXGroup const & | toGroup () const |
| Returns value as repeating group. | |
| int | toInt () const |
| Returns value as signed integer. | |
| System::i32 | toInt32 () const |
| Returns value as 32bit signed integer. | |
| System::i64 | toInt64 () const |
| Returns value as 64bit signed integer. | |
| LocalMktDate | toLocalMktDate () const |
| Returns value as LocalMktDate. | |
| MonthYear | toMonthYear () const |
| Returns value as MonthYear. | |
| ByteArray | toRaw () const |
| Returns value as byte array. | |
| AsciiString | toString () const |
| Returns value as string. | |
| UTCTimeOnly | toTimeOnly () const |
| Returns value as TimeOnly. | |
| UTCTimestamp | toTimestamp () const |
| Returns value as Timestamp. | |
| unsigned int | toUInt () const |
| Returns value as unsigned integer. | |
| System::u32 | toUInt32 () const |
| Returns value as 32bit unsigned integer. | |
| System::u64 | toUInt64 () const |
| Returns value as 64bit unsigned integer. | |
| TagValueT * | tv () const |
| Returns container of the field. | |
| void | write (std::ostream &stream) const |
| Writes field value to stream. | |
Represents value of field.
Definition at line 63 of file B2BITS_TagValue.h.
| typedef FieldValueT<TagValueT> Engine::FieldValueT< TagValueT >::MyT |
Short name of this instantiation.
Definition at line 67 of file B2BITS_TagValue.h.
| Engine::FieldValueT< TagValueT >::FieldValueT | ( | TagValueT * | aTv, |
| int | aTag | ||
| ) | [inline] |
Constructor.
Definition at line 70 of file B2BITS_TagValue.h.
| bool Engine::FieldValueT< TagValueT >::equal | ( | Integer | value ) | const [inline] |
Compares field value with passed value.
Definition at line 223 of file B2BITS_TagValue.h.
Referenced by Engine::FieldValueT< TagValueT >::equal(), Engine::operator!=(), and Engine::operator==().
| bool Engine::FieldValueT< TagValueT >::equal | ( | UInteger | value ) | const [inline] |
Compares field value with passed value.
Definition at line 229 of file B2BITS_TagValue.h.
| bool Engine::FieldValueT< TagValueT >::equal | ( | bool | value ) | const [inline] |
Compares field value with passed value.
Definition at line 299 of file B2BITS_TagValue.h.
| bool Engine::FieldValueT< TagValueT >::equal | ( | ByteArray | value ) | const [inline] |
Compares field value with passed value.
Definition at line 235 of file B2BITS_TagValue.h.
| bool Engine::FieldValueT< TagValueT >::equal | ( | AsciiString | value ) | const [inline] |
Compares field value with passed value.
Definition at line 244 of file B2BITS_TagValue.h.
| bool Engine::FieldValueT< TagValueT >::equal | ( | char | value ) | const [inline] |
Compares field value with passed value.
Definition at line 290 of file B2BITS_TagValue.h.
| bool Engine::FieldValueT< TagValueT >::equal | ( | char const * | value ) | const [inline] |
Compares field value with passed value.
Definition at line 253 of file B2BITS_TagValue.h.
References Engine::FieldValueT< TagValueT >::equal().
| bool Engine::FieldValueT< TagValueT >::equal | ( | Decimal | value ) | const [inline] |
Compares field value with passed value.
Definition at line 259 of file B2BITS_TagValue.h.
| bool Engine::FieldValueT< TagValueT >::equal | ( | double | value ) | const [inline] |
Compares field value with passed value.
Definition at line 268 of file B2BITS_TagValue.h.
| bool Engine::FieldValueT< TagValueT >::equal | ( | FieldValueT< T > | value ) | const [inline] |
Compares field value with passed value.
Definition at line 278 of file B2BITS_TagValue.h.
References Engine::FieldValueT< TagValueT >::tag(), and Engine::FieldValueT< TagValueT >::tv().
| bool Engine::FieldValueT< TagValueT >::equal | ( | MyT | value ) | const [inline] |
Compares field value with passed value.
Definition at line 284 of file B2BITS_TagValue.h.
References Engine::FieldValueT< TagValueT >::tag(), and Engine::FieldValueT< TagValueT >::tv().
| bool Engine::FieldValueT< TagValueT >::isEmpty | ( | ) | const [inline] |
Returns true if value is empty; false otherwise.
Definition at line 211 of file B2BITS_TagValue.h.
| void Engine::FieldValueT< TagValueT >::reset | ( | ) | [inline] |
Clears value of the field.
Definition at line 217 of file B2BITS_TagValue.h.
| int Engine::FieldValueT< TagValueT >::tag | ( | ) | const [inline] |
Returns tag of the field.
Definition at line 314 of file B2BITS_TagValue.h.
Referenced by Engine::FieldValueT< TagValueT >::equal().
| bool Engine::FieldValueT< TagValueT >::toBoolean | ( | ) | const [inline] |
Returns value as byte array.
Definition at line 155 of file B2BITS_TagValue.h.
| char Engine::FieldValueT< TagValueT >::toChar | ( | ) | const [inline] |
| UTCDateOnly Engine::FieldValueT< TagValueT >::toDateOnly | ( | ) | const [inline] |
Returns value as DateOnly.
Definition at line 176 of file B2BITS_TagValue.h.
| Decimal Engine::FieldValueT< TagValueT >::toDecimal | ( | ) | const [inline] |
Returns value as Decimal.
Definition at line 127 of file B2BITS_TagValue.h.
| double Engine::FieldValueT< TagValueT >::toDouble | ( | ) | const [inline] |
Returns value as double.
Definition at line 120 of file B2BITS_TagValue.h.
| FIXGroup const& Engine::FieldValueT< TagValueT >::toGroup | ( | ) | const [inline] |
Returns value as repeating group.
Definition at line 204 of file B2BITS_TagValue.h.
| FIXGroup& Engine::FieldValueT< TagValueT >::toGroup | ( | ) | [inline] |
Returns value as repeating group.
Definition at line 197 of file B2BITS_TagValue.h.
| int Engine::FieldValueT< TagValueT >::toInt | ( | ) | const [inline] |
Returns value as signed integer.
Definition at line 106 of file B2BITS_TagValue.h.
| System::i32 Engine::FieldValueT< TagValueT >::toInt32 | ( | ) | const [inline] |
Returns value as 32bit signed integer.
Definition at line 92 of file B2BITS_TagValue.h.
| System::i64 Engine::FieldValueT< TagValueT >::toInt64 | ( | ) | const [inline] |
Returns value as 64bit signed integer.
Definition at line 78 of file B2BITS_TagValue.h.
| LocalMktDate Engine::FieldValueT< TagValueT >::toLocalMktDate | ( | ) | const [inline] |
Returns value as LocalMktDate.
Definition at line 169 of file B2BITS_TagValue.h.
| MonthYear Engine::FieldValueT< TagValueT >::toMonthYear | ( | ) | const [inline] |
Returns value as MonthYear.
Definition at line 162 of file B2BITS_TagValue.h.
| ByteArray Engine::FieldValueT< TagValueT >::toRaw | ( | ) | const [inline] |
Returns value as byte array.
Definition at line 148 of file B2BITS_TagValue.h.
| AsciiString Engine::FieldValueT< TagValueT >::toString | ( | ) | const [inline] |
Returns value as string.
Definition at line 141 of file B2BITS_TagValue.h.
| UTCTimeOnly Engine::FieldValueT< TagValueT >::toTimeOnly | ( | ) | const [inline] |
Returns value as TimeOnly.
Definition at line 183 of file B2BITS_TagValue.h.
| UTCTimestamp Engine::FieldValueT< TagValueT >::toTimestamp | ( | ) | const [inline] |
Returns value as Timestamp.
Definition at line 190 of file B2BITS_TagValue.h.
| unsigned int Engine::FieldValueT< TagValueT >::toUInt | ( | ) | const [inline] |
Returns value as unsigned integer.
Definition at line 113 of file B2BITS_TagValue.h.
| System::u32 Engine::FieldValueT< TagValueT >::toUInt32 | ( | ) | const [inline] |
Returns value as 32bit unsigned integer.
Definition at line 99 of file B2BITS_TagValue.h.
| System::u64 Engine::FieldValueT< TagValueT >::toUInt64 | ( | ) | const [inline] |
Returns value as 64bit unsigned integer.
Definition at line 85 of file B2BITS_TagValue.h.
| TagValueT* Engine::FieldValueT< TagValueT >::tv | ( | ) | const [inline] |
Returns container of the field.
Definition at line 317 of file B2BITS_TagValue.h.
Referenced by Engine::FieldValueT< TagValueT >::equal().
| void Engine::FieldValueT< TagValueT >::write | ( | std::ostream & | stream ) | const [inline] |
Writes field value to stream.
Definition at line 308 of file B2BITS_TagValue.h.
1.7.2