Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

Filelist Class Reference

Filelist class for storing directory content returned from the daemon. More...

#include <mpdcom.h>

List of all members.

Public Types

typedef std::vector< ListItem
* >::const_iterator 
iterator
 Iterator for traversing through the items. More...

enum  { DIR, FILE, PLAYLIST }

Public Methods

iterator begin () const
 Begin iterator. More...

iterator end () const
 End iterator. More...

void clear ()
 Clears the list. More...

Filelist::ListItemoperator[] (unsigned i)
 Operator for direct access to the items. More...

void add (QString n, unsigned p)
 Add an item to the list. More...


Detailed Description

Filelist class for storing directory content returned from the daemon.

Author:
ing. A.E. van Putten
Date:
01-01-2004


Member Typedef Documentation

typedef std::vector<ListItem *>::const_iterator iterator
 

Iterator for traversing through the items.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
DIR 
FILE 
PLAYLIST 


Member Function Documentation

void add QString    n,
unsigned    p
[inline]
 

Add an item to the list.

iterator begin   const [inline]
 

Begin iterator.

void clear   [inline]
 

Clears the list.

iterator end   const [inline]
 

End iterator.

Filelist::ListItem* operator[] unsigned    i [inline]
 

Operator for direct access to the items.


The documentation for this class was generated from the following file:
Generated on Thu Mar 11 21:57:52 2004 for Music Playing Daemon client by doxygen1.2.15