EbmlString Class Reference

Handle all operations on a printable string EBML element. More...

#include <EbmlString.h>

Inheritance diagram for EbmlString:
Inheritance graph
[legend]
Collaboration diagram for EbmlString:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EbmlString (const std::string &aDefaultValue)
 EbmlString (const EbmlString &ElementToClone)
virtual bool ValidateSize () const
filepos_t RenderData (IOCallback &output, bool bForceRender, bool bWithDefault=false)
filepos_t ReadData (IOCallback &input, ScopeMode ReadFully=SCOPE_ALL_DATA)
 return the size of the data stored in the element, on reading
filepos_t UpdateSize (bool bWithDefault=false, bool bForceRender=false)
EbmlStringoperator= (const std::string &)
 operator const std::string & () const
void SetDefaultValue (std::string &)
const std::string & DefaultVal () const
bool IsDefaultValue () const

Protected Attributes

std::string Value
std::string DefaultValue
 The actual value of the element.

Detailed Description

Handle all operations on a printable string EBML element.


Constructor & Destructor Documentation

EbmlString::EbmlString ( const EbmlString ElementToClone  ) 
Todo:
Cloning should be on the same exact type !

Member Function Documentation

filepos_t EbmlString::RenderData ( IOCallback output,
bool  bForceRender,
bool  bWithDefault = false 
) [virtual]
Todo:
handle exception on errors

Implements EbmlElement.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator
Generated on Tue Jun 8 11:06:04 2010 for libebml by  doxygen 1.6.3