# AP4_UnknownAtom Class Reference

Class that represents atoms for which there is no specific support. More...

`#include <Ap4Atom.h>`

Inheritance diagram for AP4_UnknownAtom:

List of all members.

## 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.

## 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.

Definition at line 245 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 | ( |  | ) |

## Member Function Documentation

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 in a more efficient way than the default implementation.

Reimplemented from AP4_Atom.

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

- Ap4Atom.h