|
| | ebmlDataType (const char *, const std::wstring &) |
| |
| | ebmlDataType (const char *, const std::wstring &, const T &) |
| |
| | ebmlDataType (const char *, const std::wstring &, T &&) |
| |
| | ebmlDataType (ebmlID_t, const std::wstring &) |
| |
| | ebmlDataType (ebmlID_t, const std::wstring &, const T &) |
| |
| | ebmlDataType (ebmlID_t, const std::wstring &, T &&) |
| |
| | ebmlDataType (const char *, const std::wstring &, const seekHelper_t *) |
| |
| | ebmlDataType (const char *, const std::wstring &, const T &, const seekHelper_t *) |
| |
| | ebmlDataType (const char *, const std::wstring &, T &&, const seekHelper_t *) |
| |
| | ebmlDataType (ebmlID_t, const std::wstring &, const seekHelper_t *) |
| |
| | ebmlDataType (ebmlID_t, const std::wstring &, const T &, const seekHelper_t *) |
| |
| | ebmlDataType (ebmlID_t, const std::wstring &, T &&, const seekHelper_t *) |
| |
| template<> |
| unsigned long long | defaultdefault |
| |
| template<> |
| long long | defaultdefault |
| |
| template<> |
| double | defaultdefault |
| |
| template<> |
| std::string | defaultdefault |
| |
| template<> |
| std::wstring | defaultdefault |
| |
| template<> |
| ebml::timepoint_t | defaultdefault |
| |
| template<> |
| const unsigned long long | defaultdefault |
| |
| template<> |
| const long long | defaultdefault |
| |
| template<> |
| const double | defaultdefault |
| |
| template<> |
| const std::string | defaultdefault |
| |
| template<> |
| const std::wstring | defaultdefault |
| |
| template<> |
| const ebml::timepoint_t | defaultdefault |
| |
| | ebmlTypeCRTP (Args &&... args) |
| |
| ebml::ptr< ebmlDataElement< T > > | operator() (Args &&... args) const |
| | Creates a new instance of an EBML element. More...
|
| |
| ebml::ptr< ebmlDataElement< T > > | decode (const parseString &parsed) const |
| |
| ebml::ptr< ebmlDataElement< T > > | decode (const parseFile &parsed) const |
| |
| ebml::ptr< ebmlDataElement< T > > | decode (const char *data, size_t size) const |
| |
| ebml::ptr< ebmlDataElement< T > > | decode (const std::string &data) const |
| |
| ebml::ptr< ebmlDataElement< T > > | decode (ioBase &file) const |
| |
| ebml::ptr< ebmlDataElement< T > > | decode (ioBase &file, off_t &offset) const |
| |
| ebml::ptr< ebmlDataElement< T > > | decode (ioBase &file, off_t offset, off_t &endoffset) const |
| |
| ebml::ptr< const ebmlDataElement< T > > | cdecode (const parseString &parsed) const |
| |
| ebml::ptr< const ebmlDataElement< T > > | cdecode (const parseFile &parsed) const |
| |
| ebml::ptr< const ebmlDataElement< T > > | cdecode (const char *data, size_t size) const |
| |
| ebml::ptr< const ebmlDataElement< T > > | cdecode (const std::string &data) const |
| |
| ebml::ptr< const ebmlDataElement< T > > | cdecode (ioBase &file) const |
| |
| ebml::ptr< const ebmlDataElement< T > > | cdecode (ioBase &file, off_t &offset) const |
| |
| ebml::ptr< const ebmlDataElement< T > > | cdecode (ioBase &file, off_t offset, off_t &endoffset) const |
| |
| | 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< ebmlElement > | operator() () const |
| | Factory operator to create a default EBML element instance. More...
|
| |
| seekMapBase * | initSeekMap () const |
| |
| seekData_t * | makeSeekData (const parseString &) const |
| |
| seekData_t * | makeSeekData (const parseString &, const ebmlMasterElement_wp &) const |
| |
| seekData_t * | makeSeekData (const parseString &, ebmlMasterElement_wp &&) const |
| |
| seekData_t * | makeSeekData (const parseFile &) const |
| |
| seekData_t * | makeSeekData (const parseFile &, const ebmlMasterElement_wp &) const |
| |
| seekData_t * | makeSeekData (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< ebmlElement > | decode (const parseString &) const |
| | Decode element from ebml::parseString instance. More...
|
| |
| ebml::ptr< ebmlElement > | decode (const parseFile &) const |
| | Decode and create a new EBML element instance from ebml::parseFile instance. More...
|
| |
| ebml::ptr< ebmlElement > | decode (const char *, size_t) const |
| | Decode and create a new EBML element instance from a raw data buffer. More...
|
| |
| ebml::ptr< ebmlElement > | decode (const std::string &) const |
| | Decode and create a new EBML element instance from a std::string instance. More...
|
| |
| ebml::ptr< ebmlElement > | decode (ioBase &) const |
| | Decode and create a new EBML element instance from ebml::ioBase instance at the current file position. More...
|
| |
| ebml::ptr< ebmlElement > | decode (ioBase &, off_t &) const |
| | Decode and create a new EBML element instance from ebml::ioBase instance with a specified offset. More...
|
| |
| ebml::ptr< ebmlElement > | decode (ioBase &, off_t, off_t &) const |
| | Decode from ebml::ioBase instance with a specified offset and store the end offset. More...
|
| |
| ebml::ptr< const ebmlElement > | cdecode (const parseString &) const |
| |
| ebml::ptr< const ebmlElement > | cdecode (const parseFile &) const |
| |
| ebml::ptr< const ebmlElement > | cdecode (const char *, size_t) const |
| |
| ebml::ptr< const ebmlElement > | cdecode (const std::string &) const |
| |
| ebml::ptr< const ebmlElement > | cdecode (ioBase &) const |
| |
| ebml::ptr< const ebmlElement > | cdecode (ioBase &, off_t &offset) const |
| |
| ebml::ptr< const ebmlElement > | cdecode (ioBase &, off_t offset, off_t &end) const |
| |
template<typename T>
class ebml::ebmlDataType< T >
Template class for EBML data types.
Provides a factory and decoding interface for EBML elements that store data of type T.
In order to implement ebmlDataType<T> and ebmlDataElement<T>, you only need to implement these functions:
- Template Parameters
-
| T | The type of data stored in the element. |