RmtesBuffer represents RMTES data. More...
Public Member Functions | |
Constructor | |
RmtesBuffer () | |
More... | |
RmtesBuffer (UInt32 length) | |
More... | |
RmtesBuffer (const char *buf, UInt32 length) | |
More... | |
RmtesBuffer (const RmtesBuffer &buf) | |
More... | |
Destructor | |
virtual | ~RmtesBuffer () |
More... | |
Accessors | |
const EmaBuffer & | getAsUTF8 () const |
More... | |
const EmaBufferU16 & | getAsUTF16 () const |
More... | |
const EmaBuffer & | getAsEmaBuffer () const |
More... | |
const EmaString & | toString () const |
More... | |
Operations | |
class | OmmRmtesDecoder |
class | EmaUnitTestConnect |
RmtesBuffer & | clear () |
More... | |
RmtesBuffer & | apply (const RmtesBuffer &buf) |
More... | |
RmtesBuffer & | apply (const char *buf, UInt32 length) |
More... | |
RmtesBuffer & | apply (const EmaBuffer &buf) |
More... | |
RmtesBuffer stores and applies RMTES data.
The following code snippet shows a simple decoding of RmtesBuffer.
Definition at line 54 of file RmtesBuffer.h.
refinitiv::ema::access::RmtesBuffer::RmtesBuffer | ( | ) |
Constructs RmtesBuffer.
refinitiv::ema::access::RmtesBuffer::RmtesBuffer | ( | UInt32 | length | ) |
Constructs RmtesBuffer.
OmmMemoryExhaustionException | if application runs out of memory |
[in] | length | specifies size of preallocated memory |
refinitiv::ema::access::RmtesBuffer::RmtesBuffer | ( | const char * | buf, |
UInt32 | length | ||
) |
Assignment constructor
OmmMemoryExhaustionException | if application runs out of memory |
OmmInvalidUsageException | if fails to apply passed in content |
[in] | buf | pointer to the memory containing copied in buffer |
[in] | length | specifies number of characters to copy |
refinitiv::ema::access::RmtesBuffer::RmtesBuffer | ( | const RmtesBuffer & | buf | ) |
Copy constructor.
OmmMemoryExhaustionException | if application runs out of memory |
OmmInvalidUsageException | if fails to apply passed in content |
[in] | buf | copied in RmtesBuffer object |
|
virtual |
Destructor.
RmtesBuffer& refinitiv::ema::access::RmtesBuffer::apply | ( | const char * | buf, |
UInt32 | length | ||
) |
apply passed in RMTES data
OmmMemoryExhaustionException | if application runs out of memory |
OmmInvalidUsageException | if fails to apply |
[in] | buf | specifies pointer to the memory containing RMTES data to be applied to this object |
[in] | length | specifies size of the memory to be applied to this object |
RmtesBuffer& refinitiv::ema::access::RmtesBuffer::apply | ( | const EmaBuffer & | buf | ) |
apply passed in RMTES data
OmmMemoryExhaustionException | if application runs out of memory |
OmmInvalidUsageException | if fails to apply |
[in] | buf | specifies EmaBuffer containing RMTES string to be applied to this object |
RmtesBuffer& refinitiv::ema::access::RmtesBuffer::apply | ( | const RmtesBuffer & | buf | ) |
apply passed in RMTES data
OmmMemoryExhaustionException | if application runs out of memory |
OmmInvalidUsageException | if fails to apply |
[in] | buf | specifies RmtesBuffer to be applied to this object |
RmtesBuffer& refinitiv::ema::access::RmtesBuffer::clear | ( | ) |
Clears contained content.
const EmaBuffer& refinitiv::ema::access::RmtesBuffer::getAsEmaBuffer | ( | ) | const |
Returns the cached RMTES content without any conversion.
const EmaBufferU16& refinitiv::ema::access::RmtesBuffer::getAsUTF16 | ( | ) | const |
Returns the content converted as UTF16.
OmmMemoryExhaustionException | if application runs out of memory |
OmmInvalidUsageException | if fails to convert |
const EmaBuffer& refinitiv::ema::access::RmtesBuffer::getAsUTF8 | ( | ) | const |
Returns the content converted as UTF8.
OmmMemoryExhaustionException | if application runs out of memory |
OmmInvalidUsageException | if fails to convert |
const EmaString& refinitiv::ema::access::RmtesBuffer::toString | ( | ) | const |
Returns a string representation of the class instance which is converted to UTF8.
OmmMemoryExhaustionException | if application runs out of memory |
OmmInvalidUsageException | if fails to convert |
![]() |
![]() |
|