EbmlBinary Class Reference

Handle all operations on an EBML element that contains "unknown" binary data. More...

#include <EbmlBinary.h>

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

List of all members.

Public Member Functions

 EbmlBinary (const EbmlBinary &ElementToClone)
virtual bool ValidateSize () const
filepos_t RenderData (IOCallback &output, bool bForceRender, bool bWithDefault=false)
 prepare the data before writing them (in case it's not already done by default)
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)
void SetBuffer (const binary *Buffer, const uint32 BufferSize)
binary * GetBuffer () const
void CopyBuffer (const binary *Buffer, const uint32 BufferSize)
 operator const binary & () const
bool IsDefaultValue () const
bool operator== (const EbmlBinary &ElementToCompare) const

Protected Attributes

binary * Data

Detailed Description

Handle all operations on an EBML element that contains "unknown" binary data.

Todo:
handle fix sized elements (like UID of CodecID)

Member Function Documentation

uint64 EbmlBinary::UpdateSize ( bool  bWithDefault = false,
bool  bForceRender = false 
) [virtual]
Note:
no Default binary value handled

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