| 
    DbStruct Pile
     version 0.0.1
    
   This pile contains classes that can be used to 
   | 
 
The structure of a database. More...
#include <dbstruct.h>
 Inheritance diagram for DbStructMeta:Public Member Functions | |
| DbStructMeta () | |
| Default constructor.  More... | |
| virtual | ~DbStructMeta () | 
| Destructor.  More... | |
| virtual Type | type () const | 
| The type of this object.  | |
| virtual DbTaew * | taew (const QString &value) | 
| Create a table or view based on a table or view name.  | |
Interface  | |
This is the list of method that subclasses must implement.  | |
| virtual QString | databaseName () const =0 | 
| The name of this database.  | |
| virtual QString | componentName (int index) const =0 | 
| Get the name of the table or view based on its identifier.  | |
| virtual int | idFromName (const QString &value) const =0 | 
| Get the id based on a table or view name.  | |
| virtual DbTaew * | taew (int index) const =0 | 
| Create a table or view based on a table or view id.  | |
| virtual int | comp2table (int value) const =0 | 
| Convert between component identifier and table identifier.  | |
| virtual int | table2comp (int value) const =0 | 
| Convert between table identifier and component identifier.  | |
| virtual int | tableIdFromName (const QString &value) const =0 | 
| Get the id based on a table name.  | |
| virtual QString | tableName (int index) const =0 | 
| Get the name of the table based on its identifier.  | |
| virtual int | comp2view (int value) const =0 | 
| Convert between component identifier and view identifier.  | |
| virtual int | view2comp (int value) const =0 | 
| Convert between view identifier and component identifier.  | |
| virtual int | viewIdFromName (const QString &value) const =0 | 
| Get the id based on a view name.  | |
| virtual QString | viewName (int index) const =0 | 
| Get the name of the view based on its identifier.  | |
  Public Member Functions inherited from DbObject | |
| DbObject () | |
| Default constructor.  More... | |
| virtual | ~DbObject () | 
| Destructor.  More... | |
| DbStructMeta * | asStruct () | 
| Get this instance as a DbStruct.  | |
| DbColumn * | asColumn () | 
| Get this instance as a DbColumn.  | |
| DbRecord * | asRecord () | 
| Get this instance as a DbRecord.  | |
| DbTable * | asTable () | 
| Get this instance as a DbTable.  | |
| DbView * | asView () | 
| Get this instance as a DbView.  | |
| bool | isStruct () | 
| Tell if this instance is a DbStruct.  | |
| bool | isColumn () | 
| Tell if this instance is a DbColumn.  | |
| bool | isRecord () | 
| Tell if this instance is a DbRecord.  | |
| bool | isTable () | 
| Tell if this instance is a DbTable.  | |
| bool | isView () | 
| Tell if this instance is a DbView.  | |
| bool | isCustom () | 
| Tell if this instance is a custom one.  | |
Additional Inherited Members | |
  Public Types inherited from DbObject | |
| enum | Type {  DBO_INVALID = -1, DBO_STRUCT, DBO_COLUMN, DBO_RECORD, DBO_TABLE, DBO_SUBSET, DBO_CPLX_VIEW, DBO_CUSTOM, DBO_MAX }  | 
| The types of objects that use this class as a base.  More... | |
The structure of a database.
| DbStructMeta::DbStructMeta | ( | ) | 
Default constructor.
Detailed description for constructor.
      
  | 
  virtual | 
Destructor.
Detailed description for destructor.