AP4_AtomParent Class Reference
Base class for containers of atoms. More...
#include <Ap4Atom.h>
Inheritance diagram for AP4_AtomParent:

Public Member Functions | |
virtual | ~AP4_AtomParent () |
AP4_List< AP4_Atom > & | GetChildren () |
virtual AP4_Result | AddChild (AP4_Atom *child, int position=-1) |
virtual AP4_Result | RemoveChild (AP4_Atom *child) |
virtual AP4_Result | DeleteChild (AP4_Atom::Type type, AP4_Ordinal index=0) |
virtual AP4_Atom * | GetChild (AP4_Atom::Type type, AP4_Ordinal index=0) const |
virtual AP4_Atom * | GetChild (const AP4_UI08 *uuid, AP4_Ordinal index=0) const |
virtual AP4_Atom * | FindChild (const char *path, bool auto_create=false, bool auto_create_full=false) |
virtual void | OnChildChanged (AP4_Atom *) |
virtual void | OnChildAdded (AP4_Atom *) |
virtual void | OnChildRemoved (AP4_Atom *) |
Protected Attributes | |
AP4_List< AP4_Atom > | m_Children |
Detailed Description
Base class for containers of atoms.
This class also implements the logic for finding descendents by name.
Definition at line 253 of file Ap4Atom.h.
Constructor & Destructor Documentation
virtual AP4_AtomParent::~AP4_AtomParent | ( | ) | [virtual] |
Member Function Documentation
virtual AP4_Result AP4_AtomParent::AddChild | ( | AP4_Atom * | child, | |
int | position = -1 | |||
) | [virtual] |
virtual AP4_Result AP4_AtomParent::DeleteChild | ( | AP4_Atom::Type | type, | |
AP4_Ordinal | index = 0 | |||
) | [virtual] |
virtual AP4_Atom* AP4_AtomParent::FindChild | ( | const char * | path, | |
bool | auto_create = false , |
|||
bool | auto_create_full = false | |||
) | [virtual] |
virtual AP4_Atom* AP4_AtomParent::GetChild | ( | const AP4_UI08 * | uuid, | |
AP4_Ordinal | index = 0 | |||
) | const [virtual] |
virtual AP4_Atom* AP4_AtomParent::GetChild | ( | AP4_Atom::Type | type, | |
AP4_Ordinal | index = 0 | |||
) | const [virtual] |
Reimplemented in AP4_ContainerAtom.
Definition at line 259 of file Ap4Atom.h.
References m_Children.
virtual void AP4_AtomParent::OnChildAdded | ( | AP4_Atom * | ) | [inline, virtual] |
Reimplemented in AP4_ContainerAtom, and AP4_MoovAtom.
virtual void AP4_AtomParent::OnChildChanged | ( | AP4_Atom * | ) | [inline, virtual] |
Reimplemented in AP4_ContainerAtom, AP4_OdheAtom, AP4_SampleEntry, and AP4_StsdAtom.
virtual void AP4_AtomParent::OnChildRemoved | ( | AP4_Atom * | ) | [inline, virtual] |
Reimplemented in AP4_ContainerAtom, and AP4_MoovAtom.
virtual AP4_Result AP4_AtomParent::RemoveChild | ( | AP4_Atom * | child | ) | [virtual] |
Member Data Documentation
AP4_List<AP4_Atom> AP4_AtomParent::m_Children [protected] |
Definition at line 276 of file Ap4Atom.h.
Referenced by AP4_ContainerAtom::GetChildren(), GetChildren(), and AP4_File::GetTopLevelAtoms().
The documentation for this class was generated from the following file:
Generated on Thu May 13 16:36:49 2010 for Bento4 MP4 SDK by
