KDevelop API Documentation

SynchronizedFileList Class Reference

List of all members.

Public Member Functions

 SynchronizedFileList ()
bool isEmpty () const
uint count () const
QPair< QString, boolfront () const
void clear ()
void push_back (const QString &fileName, bool readFromDisk=false)
void pop_front ()
bool contains (const QString &fileName) const
void remove (const QString &fileName)
 SynchronizedFileList ()
bool isEmpty () const
uint count () const
QPair< QString, boolfront () const
void clear ()
void push_back (const QString &fileName, bool readFromDisk=false)
void pop_front ()
bool contains (const QString &fileName) const
void remove (const QString &fileName)

Private Attributes

QMutex m_mutex
QValueList< QPair< QString,
bool > > 
m_fileList
QValueList< QPair< QString,
bool > > 
m_fileList

Constructor & Destructor Documentation

SynchronizedFileList::SynchronizedFileList  )  [inline]
 

Definition at line 117 of file backgroundparser.cpp.

SynchronizedFileList::SynchronizedFileList  )  [inline]
 

Definition at line 116 of file backgroundparser.cpp.


Member Function Documentation

void SynchronizedFileList::clear void   )  [inline]
 

Definition at line 136 of file backgroundparser.cpp.

References m_fileList, and m_mutex.

void SynchronizedFileList::clear void   )  [inline]
 

Definition at line 137 of file backgroundparser.cpp.

References m_fileList, and m_mutex.

Referenced by BackgroundParser::removeAllFiles().

bool SynchronizedFileList::contains const QString fileName  )  const [inline]
 

Definition at line 154 of file backgroundparser.cpp.

References contains(), m_fileList, and m_mutex.

bool SynchronizedFileList::contains const QString fileName  )  const [inline]
 

Definition at line 155 of file backgroundparser.cpp.

References contains(), m_fileList, and m_mutex.

Referenced by BackgroundParser::addFile(), contains(), and BackgroundParser::parseFile().

uint SynchronizedFileList::count  )  const [inline]
 

Definition at line 124 of file backgroundparser.cpp.

References m_fileList, and m_mutex.

uint SynchronizedFileList::count  )  const [inline]
 

Definition at line 125 of file backgroundparser.cpp.

References m_fileList, and m_mutex.

Referenced by BackgroundParser::filesInQueue().

QPair<QString, bool> SynchronizedFileList::front  )  const [inline]
 

Definition at line 130 of file backgroundparser.cpp.

References m_fileList, and m_mutex.

QPair<QString, bool> SynchronizedFileList::front  )  const [inline]
 

Definition at line 131 of file backgroundparser.cpp.

References m_fileList, and m_mutex.

bool SynchronizedFileList::isEmpty  )  const [inline]
 

Definition at line 118 of file backgroundparser.cpp.

References m_fileList, and m_mutex.

bool SynchronizedFileList::isEmpty  )  const [inline]
 

Definition at line 119 of file backgroundparser.cpp.

References m_fileList, and m_mutex.

Referenced by BackgroundParser::parseFile(), and BackgroundParser::removeFile().

void SynchronizedFileList::pop_front  )  [inline]
 

Definition at line 148 of file backgroundparser.cpp.

References m_fileList, and m_mutex.

void SynchronizedFileList::pop_front  )  [inline]
 

Definition at line 149 of file backgroundparser.cpp.

References m_fileList, and m_mutex.

void SynchronizedFileList::push_back const QString fileName,
bool  readFromDisk = false
[inline]
 

Definition at line 142 of file backgroundparser.cpp.

References m_fileList, m_mutex, and push_back().

void SynchronizedFileList::push_back const QString fileName,
bool  readFromDisk = false
[inline]
 

Definition at line 143 of file backgroundparser.cpp.

References m_fileList, m_mutex, and push_back().

Referenced by BackgroundParser::addFile(), and push_back().

void SynchronizedFileList::remove const QString fileName  )  [inline]
 

Definition at line 166 of file backgroundparser.cpp.

References m_fileList, m_mutex, and remove().

void SynchronizedFileList::remove const QString fileName  )  [inline]
 

Definition at line 167 of file backgroundparser.cpp.

References m_fileList, m_mutex, and remove().

Referenced by BackgroundParser::problems(), remove(), and BackgroundParser::translationUnit().


Member Data Documentation

QValueList< QPair<QString, bool> > SynchronizedFileList::m_fileList [private]
 

Definition at line 179 of file backgroundparser.cpp.

QValueList< QPair<QString, bool> > SynchronizedFileList::m_fileList [private]
 

Definition at line 180 of file backgroundparser.cpp.

Referenced by clear(), contains(), count(), front(), isEmpty(), pop_front(), push_back(), and remove().

QMutex SynchronizedFileList::m_mutex [mutable, private]
 

Definition at line 178 of file backgroundparser.cpp.

Referenced by clear(), contains(), count(), front(), isEmpty(), pop_front(), push_back(), and remove().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:30 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003