KDevelop API Documentation

GCatalog< Tp > Class Template Reference

#include <gcatalog.h>

Inheritance diagram for GCatalog< Tp >:

Inheritance graph
[legend]
Collaboration diagram for GCatalog< Tp >:

Collaboration graph
[legend]
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  ) 
 

Referenced by main(), JavaSupportPart::setupCatalog(), CppSupportPart::setupCatalog(), and CreatePCSDialog::slotSelected().

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

Referenced by TagCreator::parseBaseClause(), TagCreator::parseClassSpecifier(), TagCreator::parseEnumSpecifier(), TagCreator::parseFunctionDeclaration(), TagCreator::parseFunctionDefinition(), TagCreator::parseMyDeclaration(), TagCreator::parseNamespace(), TagCreator::parseTypedef(), and TagCreator::parseUsingDirective().

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

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

Referenced by CatalogListViewItem::CatalogListViewItem(), CCConfigWidget::catalogRegistered(), CCConfigWidget::initCodeCompletionTab(), and CppSupportPart::projectClosed().

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

Referenced by CCConfigWidget::catalogRegistered(), CCConfigWidget::initCodeCompletionTab(), CppSupportPart::projectClosed(), and CodeInformationRepository::query().

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]
 

Referenced by main(), JavaSupportPart::setupCatalog(), CppSupportPart::setupCatalog(), and CreatePCSDialog::slotSelected().

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

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

Referenced by CatalogListViewItem::computeChilds(), TagListViewItem::computeChilds(), CodeInformationRepository::getTagsInFile(), CodeInformationRepository::query(), ClassBrowserPart::refresh(), ClassBrowserPart::refreshClasses(), and ClassBrowserPart::refreshMethods().

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  ) 
 

Referenced by CppSupportPart::setupCatalog().

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.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:25:29 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003