doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
idHierarchy< type > Class Template Reference

#include <Hierarchy.h>

Public Member Functions

 idHierarchy ()
 
 ~idHierarchy ()
 
void SetOwner (type *object)
 
typeOwner (void) const
 
void ParentTo (idHierarchy &node)
 
void MakeSiblingAfter (idHierarchy &node)
 
bool ParentedBy (const idHierarchy &node) const
 
void RemoveFromParent (void)
 
void RemoveFromHierarchy (void)
 
typeGetParent (void) const
 
typeGetChild (void) const
 
typeGetSibling (void) const
 
typeGetPriorSibling (void) const
 
typeGetNext (void) const
 
typeGetNextLeaf (void) const
 

Private Member Functions

idHierarchy< type > * GetPriorSiblingNode (void) const
 

Private Attributes

idHierarchyparent
 
idHierarchysibling
 
idHierarchychild
 
typeowner
 

Detailed Description

template<class type>
class idHierarchy< type >

Definition at line 41 of file Hierarchy.h.

Constructor & Destructor Documentation

template<class type >
idHierarchy< type >::idHierarchy ( )

Definition at line 77 of file Hierarchy.h.

template<class type >
idHierarchy< type >::~idHierarchy ( )

Definition at line 90 of file Hierarchy.h.

Member Function Documentation

template<class type >
type * idHierarchy< type >::GetChild ( void  ) const

Definition at line 233 of file Hierarchy.h.

template<class type >
type * idHierarchy< type >::GetNext ( void  ) const

Definition at line 310 of file Hierarchy.h.

template<class type >
type * idHierarchy< type >::GetNextLeaf ( void  ) const

Definition at line 336 of file Hierarchy.h.

template<class type >
type * idHierarchy< type >::GetParent ( void  ) const

Definition at line 220 of file Hierarchy.h.

template<class type >
type * idHierarchy< type >::GetPriorSibling ( void  ) const

Definition at line 291 of file Hierarchy.h.

template<class type >
idHierarchy< type > * idHierarchy< type >::GetPriorSiblingNode ( void  ) const
private

Definition at line 261 of file Hierarchy.h.

template<class type >
type * idHierarchy< type >::GetSibling ( void  ) const

Definition at line 246 of file Hierarchy.h.

template<class type >
void idHierarchy< type >::MakeSiblingAfter ( idHierarchy< type > &  node)

Definition at line 157 of file Hierarchy.h.

template<class type >
type * idHierarchy< type >::Owner ( void  ) const

Definition at line 102 of file Hierarchy.h.

template<class type >
bool idHierarchy< type >::ParentedBy ( const idHierarchy< type > &  node) const

Definition at line 124 of file Hierarchy.h.

template<class type >
void idHierarchy< type >::ParentTo ( idHierarchy< type > &  node)

Definition at line 141 of file Hierarchy.h.

template<class type >
void idHierarchy< type >::RemoveFromHierarchy ( void  )

Definition at line 194 of file Hierarchy.h.

template<class type >
void idHierarchy< type >::RemoveFromParent ( void  )

Definition at line 170 of file Hierarchy.h.

template<class type>
void idHierarchy< type >::SetOwner ( type object)

Definition at line 114 of file Hierarchy.h.

Member Data Documentation

template<class type>
idHierarchy* idHierarchy< type >::child
private

Definition at line 65 of file Hierarchy.h.

template<class type>
type* idHierarchy< type >::owner
private

Definition at line 66 of file Hierarchy.h.

template<class type>
idHierarchy* idHierarchy< type >::parent
private

Definition at line 63 of file Hierarchy.h.

template<class type>
idHierarchy* idHierarchy< type >::sibling
private

Definition at line 64 of file Hierarchy.h.


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