Public Member Functions | Private Member Functions | Private Attributes | List of all members
FileList Class Reference

#include <filedef.h>

Inheritance diagram for FileList:
QList< FileDef > QGList FileName

Public Member Functions

 FileList ()
 
 FileList (const char *path)
 
 ~FileList ()
 
QCString path () const
 
- Public Member Functions inherited from QList< FileDef >
 QList ()
 
 QList (const QList< FileDef > &l)
 
 ~QList ()
 
QList< FileDef > & operator= (const QList< FileDef > &l)
 
bool operator== (const QList< FileDef > &list) const
 
uint count () const
 
bool isEmpty () const
 
bool insert (uint i, const FileDef *d)
 
void inSort (const FileDef *d)
 
void prepend (const FileDef *d)
 
void append (const FileDef *d)
 
bool remove (uint i)
 
bool remove (const FileDef *d)
 
bool removeRef (const FileDef *d)
 
bool removeFirst ()
 
bool removeLast ()
 
FileDeftake (uint i)
 
void clear ()
 
void sort ()
 
int find (const FileDef *d) const
 
int findRef (const FileDef *d) const
 
uint contains (const FileDef *d) const
 
uint containsRef (const FileDef *d) const
 
FileDefat (uint i) const
 
FileDefgetFirst () const
 
FileDefgetLast () const
 
void setAutoDelete (bool enable)
 

Private Member Functions

int compareValues (const FileDef *md1, const FileDef *md2) const
 

Private Attributes

QCString m_pathName
 

Detailed Description

Class representing a list of FileDef objects.

Definition at line 239 of file filedef.h.

Constructor & Destructor Documentation

FileList::FileList ( )
inline

Definition at line 242 of file filedef.h.

242 : m_pathName("tmp") {}
QCString m_pathName
Definition: filedef.h:251
FileList::FileList ( const char *  path)
inline

Definition at line 243 of file filedef.h.

QCString path() const
Definition: filedef.h:245
QCString m_pathName
Definition: filedef.h:251
FileList::~FileList ( )
inline

Definition at line 244 of file filedef.h.

244 {}

Member Function Documentation

int FileList::compareValues ( const FileDef md1,
const FileDef md2 
) const
inlineprivatevirtual

Reimplemented from QList< FileDef >.

Reimplemented in FileName.

Definition at line 247 of file filedef.h.

248  {
249  return qstricmp(md1->name(),md2->name());
250  }
int qstricmp(const char *str1, const char *str2)
Definition: qcstring.cpp:567
QCString name() const
Definition: filedef.cpp:1193
QCString FileList::path ( ) const
inline

Definition at line 245 of file filedef.h.

245 { return m_pathName; }
QCString m_pathName
Definition: filedef.h:251

Member Data Documentation

QCString FileList::m_pathName
private

Definition at line 251 of file filedef.h.


The documentation for this class was generated from the following file: