Catalog Class Reference
#include <catalog.h>
Public Types | |
typedef TQPair< TQCString, TQVariant > | QueryArgument |
Public Member Functions | |
bool | isValid () const |
TQString | dbName () const |
bool | enabled () const |
void | setEnabled (bool en) |
virtual void | open (const TQString &dbName) |
virtual void | close () |
virtual void | sync () |
TQValueList< TQCString > | indexList () const |
void | addIndex (const TQCString &name) |
void | addItem (Tag &tag) |
Tag | getItemById (const TQCString &id) |
TQValueList< Tag > | query (const TQValueList< QueryArgument > &args) |
TQCString | generateId () |
Detailed Description
Catalog objects represent separate symbol databases.
Catalogs can be created/loaded/unloaded dynamically. To find a symbol in the repository each catalog should be queried.
Persistent symbol store is useful to keep information about code that never or rarely changes. System libraries are perfect examples of such code.
Member Function Documentation
◆ addIndex()
void Catalog::addIndex | ( | const TQCString & | name | ) |
- Todo:
- document these functions
Definition at line 175 of file catalog.cpp.
The documentation for this class was generated from the following files: