|
Tide 0.1.0
|
The MasterElement interface. More...
#include <tide/master_element.h>


Public Member Functions | |
| MasterElement (uint32_t id, bool crc=false) | |
| Create a new MasterElement. | |
| virtual | ~MasterElement () |
| Destructor. | |
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.
| tide::MasterElement::MasterElement | ( | uint32_t | id, |
| bool | crc = false |
||
| ) |
Create a new MasterElement.
| [in] | id | The element's ID, as an unsigned integer up to 28 bits. |
| [in] | crc | Use 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.
1.7.3