AP4_UnknownAtom Class Reference
Class that represents atoms for which there is no specific support. More...
#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 (AP4_Atom::Type type, const AP4_UI08 *payload, AP4_Size payload_size) | |
AP4_UnknownAtom (const AP4_UnknownAtom &other) | |
~AP4_UnknownAtom () | |
virtual AP4_Result | WriteFields (AP4_ByteStream &stream) |
virtual AP4_Atom * | Clone () |
Create a clone of the object. |
Detailed Description
Class that represents atoms for which there is no specific support.
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. If the atom is small, its payload is actually read and stored in a data buffer, so no reference to the source stream is kept
Definition at line 290 of file Ap4Atom.h.
Constructor & Destructor Documentation
AP4_UnknownAtom::AP4_UnknownAtom | ( | AP4_Atom::Type | type, | |
AP4_UI64 | size, | |||
AP4_ByteStream & | stream | |||
) |
AP4_UnknownAtom::AP4_UnknownAtom | ( | AP4_Atom::Type | type, | |
const AP4_UI08 * | payload, | |||
AP4_Size | payload_size | |||
) |
AP4_UnknownAtom::AP4_UnknownAtom | ( | const AP4_UnknownAtom & | other | ) |
AP4_UnknownAtom::~AP4_UnknownAtom | ( | ) |
Member Function Documentation
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 in a more efficient way than the default implementation.
Reimplemented from AP4_Atom.
virtual AP4_Result AP4_UnknownAtom::WriteFields | ( | AP4_ByteStream & | stream | ) | [virtual] |
Implements AP4_Atom.
The documentation for this class was generated from the following file:
Generated on Thu May 13 16:37:56 2010 for Bento4 MP4 SDK by
