All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::se::InlineContent Class Reference

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>

Inheritance diagram for te::se::InlineContent:

Public Types

enum  EncodingType { XML, BASE64 }
 The format type of encoded data. More...
 

Public Member Functions

InlineContentclone () 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...
 

Detailed Description

InlineContent is XML- or base64-encoded encoded content in some externally-defined format that is included in an SE in-line.

See also
Mark, ExternalGraphic

Definition at line 51 of file InlineContent.h.

Member Enumeration Documentation

The format type of encoded data.

Enumerator
XML 

XML encoded.

BASE64 

Base-64 encoded.

Definition at line 60 of file InlineContent.h.

Constructor & Destructor Documentation

te::se::InlineContent::InlineContent ( const EncodingType e)
explicit

It initializes a new InlineContent.

Parameters
eEncoding type.

Definition at line 29 of file InlineContent.cpp.

te::se::InlineContent::~InlineContent ( )

Destructor.

Definition at line 34 of file InlineContent.cpp.

Member Function Documentation

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.

Member Data Documentation

std::string te::se::InlineContent::m_data
private

The inlined data. (Optional)

Definition at line 103 of file InlineContent.h.

EncodingType te::se::InlineContent::m_encoding
private

The possible values are: xml or base64. (Mandatory)

Definition at line 104 of file InlineContent.h.


The documentation for this class was generated from the following files: