Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

VarTree Class Reference

Tree variable. More...

#include <var_tree.hpp>

Inheritance diagram for VarTree:

Variable Subject< VarTree > SkinObject Playtree List of all members.

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.
VarTreeback ()
 Back of children's list.
Iterator operator[] (int n)
 Return an iterator on the n'th element of the children's list.
VarTreeparent ()
 Parent node.
VarTreeroot ()
 Get root node.
int depth ()
 Get depth (root depth is 0).
virtual void action (VarTree *pItem)
 Execute the action associated to this item.
VarPercentgetPositionVar () const
 Get a reference on the position variable.
const VariablePtrgetPositionVarPtr () 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.

Detailed Description

Tree variable.

Definition at line 35 of file var_tree.hpp.


The documentation for this class was generated from the following files:
Generated on Tue Dec 20 10:15:04 2005 for vlc-0.8.4a by  doxygen 1.4.2