#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] |
typedef coll::coll_traits<COLL>::itemset_type tagcoll::HierarchyNode< COLL >::ITEMSET [protected] |
| typedef std::vector<HierarchyNode<COLL>*>::iterator tagcoll::HierarchyNode< COLL >::iterator |
typedef coll::coll_traits<COLL>::tag_type tagcoll::HierarchyNode< COLL >::TAG [protected] |
typedef coll::coll_traits<COLL>::tagset_type tagcoll::HierarchyNode< COLL >::TAGSET [protected] |
| 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] |
| iterator tagcoll::HierarchyNode< COLL >::begin | ( | ) | [inline] |
| iterator tagcoll::HierarchyNode< COLL >::end | ( | ) | [inline] |
| virtual void tagcoll::HierarchyNode< COLL >::expand | ( | ) | [pure virtual] |
Implemented in tagcoll::SmartHierarchyNode< COLL >, tagcoll::CleanSmartHierarchyNode< COLL >, and tagcoll::DiscHierarchyNode< COLL >.
Referenced by tagcoll::HierarchyNode< COLL >::begin(), tagcoll::HierarchyNode< COLL >::end(), tagcoll::HierarchyNode< COLL >::getItems(), tagcoll::HierarchyNode< COLL >::operator[](), and tagcoll::HierarchyNode< COLL >::size().
| const std::set<ITEM>& tagcoll::HierarchyNode< COLL >::getItems | ( | ) | [inline] |
| HierarchyNode<COLL>* tagcoll::HierarchyNode< COLL >::operator[] | ( | int | idx | ) | [inline] |
| HierarchyNode<COLL>* tagcoll::HierarchyNode< COLL >::parent | ( | ) | const [inline] |
References tagcoll::HierarchyNode< COLL >::_parent.
| int tagcoll::HierarchyNode< COLL >::size | ( | ) | [inline] |
| TAG tagcoll::HierarchyNode< COLL >::tag | ( | ) | [inline] |
References tagcoll::HierarchyNode< COLL >::_tag.
| const TAG& tagcoll::HierarchyNode< COLL >::tag | ( | ) | const [inline] |
References tagcoll::HierarchyNode< COLL >::_tag.
HierarchyNode<COLL>* tagcoll::HierarchyNode< COLL >::_parent [protected] |
TAG tagcoll::HierarchyNode< COLL >::_tag [protected] |
std::vector<HierarchyNode<COLL>*> tagcoll::HierarchyNode< COLL >::children [protected] |
COLL* tagcoll::HierarchyNode< COLL >::coll [protected] |
ITEMSET tagcoll::HierarchyNode< COLL >::items [protected] |
Referenced by tagcoll::HierarchyNode< COLL >::getItems().
1.6.2