KDevelop API Documentation

GCatalog< Tp > Class Template Reference

#include <gcatalog.h>

List of all members.

Public Types

typedef Tp Tag
typedef QPair< QCString, QVariantQueryArgument

Public Member Functions

 GCatalog ()
virtual ~GCatalog ()
bool isValid () const
QString dbName () const
bool enabled () const
void setEnabled (bool enabled)
virtual void open (const QString &dbName)
virtual void close ()
virtual void sync ()
QValueList< QCStringindexList () const
bool hasIndex (const QCString &name) const
void addIndex (const QCString &name)
void removeIndex (const QCString &name)
void addItem (Tag &tag)
bool removeItem (const Tag &id)
bool removeItemById (const QCString &id)
void removeItems (const QValueList< QueryArgument > &args)
Tag getItemById (const QCString &id)
bool hasItem (const QCString &id)
QValueList< TaggetAllItems ()
QValueList< Tagquery (const QValueList< QueryArgument > &args)
QCString generateId ()

Private Member Functions

 GCatalog (const GCatalog &source)
void operator= (const GCatalog &source)

Private Attributes

_GCatalog_Private< Tp > * d

template<class Tp>
class GCatalog< Tp >


Member Typedef Documentation

template<class Tp>
typedef QPair<QCString, QVariant> GCatalog< Tp >::QueryArgument
 

Definition at line 230 of file gcatalog.h.

template<class Tp>
typedef Tp GCatalog< Tp >::Tag
 

Definition at line 229 of file gcatalog.h.


Constructor & Destructor Documentation

template<class Tp>
GCatalog< Tp >::GCatalog  ) 
 

template<class Tp>
virtual GCatalog< Tp >::~GCatalog  )  [virtual]
 

template<class Tp>
GCatalog< Tp >::GCatalog const GCatalog< Tp > &  source  )  [private]
 


Member Function Documentation

template<class Tp>
void GCatalog< Tp >::addIndex const QCString name  ) 
 

template<class Tp>
void GCatalog< Tp >::addItem Tag tag  ) 
 

template<class Tp>
virtual void GCatalog< Tp >::close  )  [virtual]
 

template<class Tp>
QString GCatalog< Tp >::dbName  )  const
 

template<class Tp>
bool GCatalog< Tp >::enabled  )  const
 

template<class Tp>
QCString GCatalog< Tp >::generateId  ) 
 

template<class Tp>
QValueList<Tag> GCatalog< Tp >::getAllItems  ) 
 

template<class Tp>
Tag GCatalog< Tp >::getItemById const QCString id  ) 
 

template<class Tp>
bool GCatalog< Tp >::hasIndex const QCString name  )  const
 

template<class Tp>
bool GCatalog< Tp >::hasItem const QCString id  ) 
 

template<class Tp>
QValueList<QCString> GCatalog< Tp >::indexList  )  const
 

template<class Tp>
bool GCatalog< Tp >::isValid  )  const
 

template<class Tp>
virtual void GCatalog< Tp >::open const QString dbName  )  [virtual]
 

template<class Tp>
void GCatalog< Tp >::operator= const GCatalog< Tp > &  source  )  [private]
 

template<class Tp>
QValueList<Tag> GCatalog< Tp >::query const QValueList< QueryArgument > &  args  ) 
 

template<class Tp>
void GCatalog< Tp >::removeIndex const QCString name  ) 
 

template<class Tp>
bool GCatalog< Tp >::removeItem const Tag id  ) 
 

template<class Tp>
bool GCatalog< Tp >::removeItemById const QCString id  ) 
 

template<class Tp>
void GCatalog< Tp >::removeItems const QValueList< QueryArgument > &  args  ) 
 

template<class Tp>
void GCatalog< Tp >::setEnabled bool  enabled  ) 
 

template<class Tp>
virtual void GCatalog< Tp >::sync  )  [virtual]
 


Member Data Documentation

template<class Tp>
_GCatalog_Private<Tp>* GCatalog< Tp >::d [private]
 

Definition at line 264 of file gcatalog.h.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:03 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003