Tide 0.1.0
Public Member Functions

tide::MasterElement Class Reference

The MasterElement interface. More...

#include <tide/master_element.h>

Inheritance diagram for tide::MasterElement:
Inheritance graph
[legend]
Collaboration diagram for tide::MasterElement:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MasterElement (uint32_t id, bool crc=false)
 Create a new MasterElement.
virtual ~MasterElement ()
 Destructor.

Detailed Description

The MasterElement interface.

EBML elements can be divided into primitive elements and master elements. While primitive elements directly store a single piece of data in a format corresponding to their type, master elements are used to group other elements together. Instead of a single data value, they store zero or more child elements, which can themselves be master or primitive elements.

Generally, each master element will have quite specific functionality. In such cases, a new class should be created that inherits from and implements this interface.

Definition at line 52 of file master_element.h.


Constructor & Destructor Documentation

tide::MasterElement::MasterElement ( uint32_t  id,
bool  crc = false 
)

Create a new MasterElement.

Parameters:
[in]idThe element's ID, as an unsigned integer up to 28 bits.
[in]crcUse a CRC32 element to provide a check for file corruption.
virtual tide::MasterElement::~MasterElement ( ) [inline, virtual]

Destructor.

Definition at line 65 of file master_element.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines