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 | |
| InlineContent * | clone () const | 
| It creates a new copy of this object.  More... | |
Initializer Methods  | |
Methods related to instantiation and destruction.  | |
| InlineContent (const EncodingType &e) | |
| It initializes a new InlineContent.  More... | |
| ~InlineContent () | |
| Destructor.  More... | |
Accessor methods  | |
Methods used to get or set properties.  | |
| void | setData (const std::string &d) | 
| const std::string & | getData () const | 
| void | setEncoding (EncodingType e) | 
| EncodingType | getEncoding () const | 
Private Attributes | |
| std::string | m_data | 
| The inlined data. (Optional)  More... | |
| EncodingType | m_encoding | 
| The possible values are: xml or base64. (Mandatory)  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. | 
Definition at line 29 of file InlineContent.cpp.
| te::se::InlineContent::~InlineContent | ( | ) | 
Destructor.
Definition at line 34 of file InlineContent.cpp.
| te::se::InlineContent * te::se::InlineContent::clone | ( | ) | const | 
It creates a new copy of this object.
Definition at line 58 of file InlineContent.cpp.
References setData().
| const std::string & te::se::InlineContent::getData | ( | ) | const | 
Definition at line 43 of file InlineContent.cpp.
Referenced by te::se::serialize::Save().
| te::se::InlineContent::EncodingType te::se::InlineContent::getEncoding | ( | ) | const | 
Definition at line 53 of file InlineContent.cpp.
Referenced by te::se::serialize::Save().
| void te::se::InlineContent::setData | ( | const std::string & | d | ) | 
Definition at line 38 of file InlineContent.cpp.
Referenced by clone().
| void te::se::InlineContent::setEncoding | ( | EncodingType | e | ) | 
Definition at line 48 of file InlineContent.cpp.
      
  | 
  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.