InlineContent is XML- or base64-encoded encoded content in some externally-defined format that is included in an SE in-line. More...
#include <InlineContent.h>
Public Types | |
| enum | EncodingType { XML , BASE64 } |
| The format type of encoded data. More... | |
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| InlineContent (const EncodingType &e) | |
| It initializes a new InlineContent. More... | |
| ~InlineContent () | |
| Destructor. More... | |
Accessor methods | |
| std::string | m_data |
| The inlined data. (Optional) More... | |
| EncodingType | m_encoding |
| The possible values are: xml or base64. (Mandatory) More... | |
| void | setData (const std::string &d) |
| const std::string & | getData () const |
| void | setEncoding (EncodingType e) |
| EncodingType | getEncoding () const |
| InlineContent * | clone () const |
| It creates a new copy of this object. More... | |
InlineContent is XML- or base64-encoded encoded content in some externally-defined format that is included in an SE in-line.
Definition at line 51 of file InlineContent.h.
The format type of encoded data.
| Enumerator | |
|---|---|
| XML | XML encoded. |
| BASE64 | Base-64 encoded. |
Definition at line 60 of file InlineContent.h.
|
explicit |
It initializes a new InlineContent.
| e | Encoding type. |
| te::se::InlineContent::~InlineContent | ( | ) |
Destructor.
| InlineContent* te::se::InlineContent::clone | ( | ) | const |
It creates a new copy of this object.
| const std::string& te::se::InlineContent::getData | ( | ) | const |
| EncodingType te::se::InlineContent::getEncoding | ( | ) | const |
| void te::se::InlineContent::setData | ( | const std::string & | d | ) |
| void te::se::InlineContent::setEncoding | ( | EncodingType | e | ) |
|
private |
The inlined data. (Optional)
Definition at line 103 of file InlineContent.h.
|
private |
The possible values are: xml or base64. (Mandatory)
Definition at line 104 of file InlineContent.h.