#include <SmartHierarchy.h>
Public Types | |
typedef std::vector < HierarchyNode< COLL > * >::iterator | iterator |
Public Member Functions | |
HierarchyNode (const TAG &tag, const COLL &coll) | |
HierarchyNode (HierarchyNode< COLL > *parent, const TAG &tag, const COLL &coll) | |
virtual | ~HierarchyNode () |
const TAG & | tag () const |
TAG | tag () |
HierarchyNode< COLL > * | parent () const |
virtual void | expand ()=0 |
int | size () |
iterator | begin () |
iterator | end () |
HierarchyNode< COLL > * | operator[] (int idx) |
const std::set< ITEM > & | getItems () |
Protected Types | |
typedef coll::coll_traits < COLL >::item_type | ITEM |
typedef coll::coll_traits < COLL >::tag_type | TAG |
typedef coll::coll_traits < COLL >::itemset_type | ITEMSET |
typedef coll::coll_traits < COLL >::tagset_type | TAGSET |
Protected Attributes | |
TAG | _tag |
COLL * | coll |
std::vector< HierarchyNode < COLL > * > | children |
ITEMSET | items |
HierarchyNode< COLL > * | _parent |
typedef coll::coll_traits<COLL>::item_type tagcoll::HierarchyNode< COLL >::ITEM [protected] |
Reimplemented in tagcoll::SmartHierarchyNode< COLL >, and tagcoll::CleanSmartHierarchyNode< COLL >.
typedef coll::coll_traits<COLL>::tag_type tagcoll::HierarchyNode< COLL >::TAG [protected] |
Reimplemented in tagcoll::SmartHierarchyNode< COLL >, and tagcoll::CleanSmartHierarchyNode< COLL >.
typedef coll::coll_traits<COLL>::itemset_type tagcoll::HierarchyNode< COLL >::ITEMSET [protected] |
Reimplemented in tagcoll::SmartHierarchyNode< COLL >, and tagcoll::CleanSmartHierarchyNode< COLL >.
typedef coll::coll_traits<COLL>::tagset_type tagcoll::HierarchyNode< COLL >::TAGSET [protected] |
Reimplemented in tagcoll::SmartHierarchyNode< COLL >, and tagcoll::CleanSmartHierarchyNode< COLL >.
typedef std::vector<HierarchyNode<COLL>*>::iterator tagcoll::HierarchyNode< COLL >::iterator |
tagcoll::HierarchyNode< COLL >::HierarchyNode | ( | const TAG & | tag, | |
const COLL & | coll | |||
) | [inline] |
tagcoll::HierarchyNode< COLL >::HierarchyNode | ( | HierarchyNode< COLL > * | parent, | |
const TAG & | tag, | |||
const COLL & | coll | |||
) | [inline] |
virtual tagcoll::HierarchyNode< COLL >::~HierarchyNode | ( | ) | [virtual] |
const TAG& tagcoll::HierarchyNode< COLL >::tag | ( | ) | const [inline] |
TAG tagcoll::HierarchyNode< COLL >::tag | ( | ) | [inline] |
HierarchyNode<COLL>* tagcoll::HierarchyNode< COLL >::parent | ( | ) | const [inline] |
virtual void tagcoll::HierarchyNode< COLL >::expand | ( | ) | [pure virtual] |
Implemented in tagcoll::SmartHierarchyNode< COLL >, and tagcoll::CleanSmartHierarchyNode< COLL >.
int tagcoll::HierarchyNode< COLL >::size | ( | ) | [inline] |
iterator tagcoll::HierarchyNode< COLL >::begin | ( | ) | [inline] |
iterator tagcoll::HierarchyNode< COLL >::end | ( | ) | [inline] |
HierarchyNode<COLL>* tagcoll::HierarchyNode< COLL >::operator[] | ( | int | idx | ) | [inline] |
const std::set<ITEM>& tagcoll::HierarchyNode< COLL >::getItems | ( | ) | [inline] |
TAG tagcoll::HierarchyNode< COLL >::_tag [protected] |
COLL* tagcoll::HierarchyNode< COLL >::coll [protected] |
std::vector<HierarchyNode<COLL>*> tagcoll::HierarchyNode< COLL >::children [protected] |
ITEMSET tagcoll::HierarchyNode< COLL >::items [protected] |
HierarchyNode<COLL>* tagcoll::HierarchyNode< COLL >::_parent [protected] |