#include <var_tree.hpp>
Inheritance diagram for VarTree:

Public Types | |
| typedef list< VarTree >::iterator | Iterator |
| Iterators. | |
Public Member Functions | |
| virtual const string & | getType () const |
| Get the variable type. | |
| virtual void | add (int id, const UStringPtr &rcString, bool selected, bool playing, bool expanded, void *pData) |
| Add a pointer on string in the children's list. | |
| virtual void | delSelected () |
| Remove the selected item from the children's list. | |
| virtual void | clear () |
| Remove all elements from the children's list. | |
| int | size () const |
| Get the number of children. | |
| Iterator | begin () |
| Begining of the children's list. | |
| Iterator | end () |
| End of children's list. | |
| VarTree & | back () |
| Back of children's list. | |
| Iterator | operator[] (int n) |
| Return an iterator on the n'th element of the children's list. | |
| VarTree * | parent () |
| Parent node. | |
| VarTree * | root () |
| Get root node. | |
| int | depth () |
| Get depth (root depth is 0). | |
| virtual void | action (VarTree *pItem) |
| Execute the action associated to this item. | |
| VarPercent & | getPositionVar () const |
| Get a reference on the position variable. | |
| const VariablePtr & | getPositionVarPtr () const |
| Get a counted pointer on the position variable. | |
| int | visibleItems () |
| Count the number of items that should be displayed if the playlist window wasn't limited. | |
| Iterator | getVisibleItem (int n) |
| Return iterator to the n'th visible item. | |
| Iterator | getNextVisibleItem (Iterator it) |
| Given an iterator to a visible item, return the next visible item. | |
| Iterator | findById (int id) |
| Find a children node with the given id. | |
Public Attributes | |
| int | m_id |
| FIXME should be private. | |
Definition at line 35 of file var_tree.hpp.
1.4.2