libebml_ng
Public Member Functions | Friends | List of all members

Represents a void EBML element. More...

#include <ebmlVoid.h>

Inheritance diagram for ebml::ebmlVoidType:
ebml::ebmlTypeCRTP< ebmlVoidType, ebmlVoid > ebml::ebmlElementType

Public Member Functions

 ebmlVoidType ()
 
unsigned char writeVoid (char *, size_t) const
 
unsigned char writeVoid (ioBase &, off_t, size_t) const
 
- Public Member Functions inherited from ebml::ebmlTypeCRTP< ebmlVoidType, ebmlVoid >
 ebmlTypeCRTP (Args &&... args)
 
ebml::ptr< ebmlVoidoperator() (Args &&... args) const
 Creates a new instance of an EBML element. More...
 
ebml::ptr< ebmlVoiddecode (const parseString &parsed) const
 
ebml::ptr< ebmlVoiddecode (const parseFile &parsed) const
 
ebml::ptr< ebmlVoiddecode (const char *data, size_t size) const
 
ebml::ptr< ebmlVoiddecode (const std::string &data) const
 
ebml::ptr< ebmlVoiddecode (ioBase &file) const
 
ebml::ptr< ebmlVoiddecode (ioBase &file, off_t &offset) const
 
ebml::ptr< ebmlVoiddecode (ioBase &file, off_t offset, off_t &endoffset) const
 
ebml::ptr< const ebmlVoidcdecode (const parseString &parsed) const
 
ebml::ptr< const ebmlVoidcdecode (const parseFile &parsed) const
 
ebml::ptr< const ebmlVoidcdecode (const char *data, size_t size) const
 
ebml::ptr< const ebmlVoidcdecode (const std::string &data) const
 
ebml::ptr< const ebmlVoidcdecode (ioBase &file) const
 
ebml::ptr< const ebmlVoidcdecode (ioBase &file, off_t &offset) const
 
ebml::ptr< const ebmlVoidcdecode (ioBase &file, off_t offset, off_t &endoffset) const
 
- Public Member Functions inherited from ebml::ebmlElementType
 ebmlElementType (const char *ebmlID, const std::wstring &name)
 Constructor taking an EBML ID as a VINT string and an element name. More...
 
 ebmlElementType (const char *ebmlID, const std::wstring &name, const seekHelper_t *seekHelper)
 
 ebmlElementType (ebmlID_t ebmlID, const std::wstring &name)
 Constructor taking an EBML ID as an unsigned integer and an element name. More...
 
 ebmlElementType (ebmlID_t ebmlID, const std::wstring &name, const seekHelper_t *seekHelper)
 
ebml::ptr< ebmlElementoperator() () const
 Factory operator to create a default EBML element instance. More...
 
seekMapBaseinitSeekMap () const
 
seekData_tmakeSeekData (const parseString &) const
 
seekData_tmakeSeekData (const parseString &, const ebmlMasterElement_wp &) const
 
seekData_tmakeSeekData (const parseString &, ebmlMasterElement_wp &&) const
 
seekData_tmakeSeekData (const parseFile &) const
 
seekData_tmakeSeekData (const parseFile &, const ebmlMasterElement_wp &) const
 
seekData_tmakeSeekData (const parseFile &, ebmlMasterElement_wp &&) const
 
template<typename T = ebmlElementType>
T & as ()
 
template<typename T = ebmlElementType>
T & as () const
 
virtual std::wstring minirepr () const
 
std::wstring repr () const
 
ebml::ptr< ebmlElementdecode (const parseString &) const
 Decode element from ebml::parseString instance. More...
 
ebml::ptr< ebmlElementdecode (const parseFile &) const
 Decode and create a new EBML element instance from ebml::parseFile instance. More...
 
ebml::ptr< ebmlElementdecode (const char *, size_t) const
 Decode and create a new EBML element instance from a raw data buffer. More...
 
ebml::ptr< ebmlElementdecode (const std::string &) const
 Decode and create a new EBML element instance from a std::string instance. More...
 
ebml::ptr< ebmlElementdecode (ioBase &) const
 Decode and create a new EBML element instance from ebml::ioBase instance at the current file position. More...
 
ebml::ptr< ebmlElementdecode (ioBase &, off_t &) const
 Decode and create a new EBML element instance from ebml::ioBase instance with a specified offset. More...
 
ebml::ptr< ebmlElementdecode (ioBase &, off_t, off_t &) const
 Decode from ebml::ioBase instance with a specified offset and store the end offset. More...
 
ebml::ptr< const ebmlElementcdecode (const parseString &) const
 
ebml::ptr< const ebmlElementcdecode (const parseFile &) const
 
ebml::ptr< const ebmlElementcdecode (const char *, size_t) const
 
ebml::ptr< const ebmlElementcdecode (const std::string &) const
 
ebml::ptr< const ebmlElementcdecode (ioBase &) const
 
ebml::ptr< const ebmlElementcdecode (ioBase &, off_t &offset) const
 
ebml::ptr< const ebmlElementcdecode (ioBase &, off_t offset, off_t &end) const
 

Friends

class ebmlVoid
 

Additional Inherited Members

- Public Attributes inherited from ebml::ebmlElementType
ebmlID_t ebmlID
 EBML ID associated with this element type. More...
 
std::wstring name
 Name (as a wide string) of the element type. More...
 
const seekHelper_t_seekHelper = &seekHelper
 
- Protected Member Functions inherited from ebml::ebmlTypeCRTP< ebmlVoidType, ebmlVoid >
ebmlElement_new () const
 
ebmlElement_decode_v (const parseString &) const
 
ebmlElement_decode_v (const parseFile &) const
 
ebmlElement_cdecode_v (const parseString &) const
 
ebmlElement_cdecode_v (const parseFile &) const
 
- Protected Member Functions inherited from ebml::ebmlElementType
ebmlElement_decode_nocheck (const parseString &parsed) const
 Decode element from ebml::parseString instance. More...
 
ebmlElement_decode_nocheck (const parseFile &parsed) const
 Decode element from ebml::parseFile instance. More...
 
ebmlElement_cdecode_nocheck (const parseString &parsed) const
 
ebmlElement_cdecode_nocheck (const parseFile &parsed) const
 
ebmlElement_decode (const parseString &) const
 Decode element from ebml::parseString instance. More...
 
ebmlElement_decode (const parseFile &) const
 Decode and create a new EBML element instance from ebml::parseFile instance. More...
 
ebmlElement_decode (const char *, size_t) const
 Decode from a raw data buffer. More...
 
ebmlElement_decode (const std::string &) const
 Decode from std::string. More...
 
ebmlElement_decode (ioBase &) const
 Decode and create a new EBML element instance from ebml::ioBase instance at the current file position. More...
 
ebmlElement_decode (ioBase &, off_t &) const
 Decode and create a new EBML element instance from ebml::ioBase instance with a specified offset. More...
 
ebmlElement_decode (ioBase &, off_t, off_t &) const
 Decode from ebml::ioBase instance with a specified offset and store the end offset. More...
 
ebmlElement_cdecode (const parseString &) const
 
ebmlElement_cdecode (const parseFile &) const
 
ebmlElement_cdecode (const char *, size_t) const
 
ebmlElement_cdecode (const std::string &) const
 
ebmlElement_cdecode (ioBase &) const
 
ebmlElement_cdecode (ioBase &, off_t &offset) const
 
ebmlElement_cdecode (ioBase &, off_t offset, off_t &end) const
 

Detailed Description

Represents a void EBML element.

This class defines an EBML element that is used for padding or reserving space within a file. It does not contain any meaningful data.

Constructor & Destructor Documentation

◆ ebmlVoidType()

ebml::ebmlVoidType::ebmlVoidType ( )

Member Function Documentation

◆ writeVoid() [1/2]

unsigned char ebml::ebmlVoidType::writeVoid ( char *  dest,
size_t  outerSize 
) const

◆ writeVoid() [2/2]

unsigned char ebml::ebmlVoidType::writeVoid ( ioBase file,
off_t  offset,
size_t  outerSize 
) const

Friends And Related Function Documentation

◆ ebmlVoid

friend class ebmlVoid
friend

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