#include <ElementString.h>
Inheritance diagram for aja::ElementString:
Public Member Functions | |
ElementString (number_t id, const char *text) | |
Construct string element with ID. | |
ElementString (number_t id, const std::string &text) | |
ElementString (number_t id) | |
Construct string element with ID. | |
virtual | ~ElementString () |
bool | setString (const std::string &str) |
bool | setString (const char *str, unsigned int size) |
Function set string for element. | |
bool | buildAja (OutputBuffer &out) |
Function build AJA binary form of STRING ELEMENT. | |
bool | parseElmData (buffer_t buffer, unsigned int size, unsigned int &pos) |
Function parse string into element. | |
std::string | getElementContent () |
Function return string content in element. | |
number_t | getItemSize () |
Function return complete size of string element. | |
Protected Attributes | |
std::string | mString |
inner string store |
This class doing parsing, building and manipulating operations with string elements.
Strings in string element can be long like 16bit unsigned number (about 63kb).For longer strings can be used DATA-ELEMENTS.
|
Construct string element with ID.
|
|
|
|
Construct string element with ID.
|
|
|
|
Function build AJA binary form of STRING ELEMENT.
Reimplemented from aja::ElementItem. |
|
Function return string content in element.
Implements aja::ElementItem. |
|
Function return complete size of string element.
Reimplemented from aja::ElementItem. |
|
Function parse string into element.
Implements aja::ElementItem. |
|
Function set string for element.
|
|
|
|
inner string store
|