#include <Ap4Atom.h>
Inheritance diagram for AP4_UnknownAtom:
Public Member Functions | |
AP4_UnknownAtom (AP4_Atom::Type type, AP4_UI64 size, AP4_ByteStream &stream) | |
~AP4_UnknownAtom () | |
virtual AP4_Result | WriteFields (AP4_ByteStream &stream) |
virtual AP4_Atom * | Clone () |
Create a clone of the object. |
Instances of this class keep a reference to the stream from which the atom is parsed, so that it can read the atom's payload when it is serialized.
Definition at line 239 of file Ap4Atom.h.
AP4_UnknownAtom::AP4_UnknownAtom | ( | AP4_Atom::Type | type, | |
AP4_UI64 | size, | |||
AP4_ByteStream & | stream | |||
) |
AP4_UnknownAtom::~AP4_UnknownAtom | ( | ) |
virtual AP4_Result AP4_UnknownAtom::WriteFields | ( | AP4_ByteStream & | stream | ) | [virtual] |
Implements AP4_Atom.
virtual AP4_Atom* AP4_UnknownAtom::Clone | ( | ) | [virtual] |
Create a clone of the object.
This method returns a clone of the atom, or NULL if the atom cannot be cloned. Override this if your want to make an atom cloneable.
Reimplemented from AP4_Atom.