10 #ifndef GUARD_DBOBJECT_H_INCLUDE
11 #define GUARD_DBOBJECT_H_INCLUDE
13 #include <dbstruct/dbstruct-config.h>
16 #include <QStringList>
76 return type() == DBO_STRUCT;
81 return type() == DBO_COLUMN;
86 return type() == DBO_RECORD;
91 return type() == DBO_TABLE;
96 return (type() == DBO_SUBSET) || (type() == DBO_CPLX_VIEW);
101 return type() == DBO_CUSTOM;
112 #endif // GUARD_DBOBJECT_H_INCLUDE
virtual Type type() const
The type of this object.
Definition: dbobject.h:55
Definition: dbobject.h:36
bool isStruct()
Tell if this instance is a DbStruct.
Definition: dbobject.h:75
A record in a database.
Definition: dbrecord.h:34
Definition: dbobject.h:38
bool isView()
Tell if this instance is a DbView.
Definition: dbobject.h:95
bool isTable()
Tell if this instance is a DbTable.
Definition: dbobject.h:90
bool isColumn()
Tell if this instance is a DbColumn.
Definition: dbobject.h:80
Definition: dbobject.h:40
A table in a database.
Definition: dbtable.h:22
Definition: dbobject.h:42
Type
The types of objects that use this class as a base.
Definition: dbobject.h:33
bool isRecord()
Tell if this instance is a DbRecord.
Definition: dbobject.h:85
The columnure of a database.
Definition: dbcolumn.h:27
bool isCustom()
Tell if this instance is a custom one.
Definition: dbobject.h:100
A view in a database.
Definition: dbview.h:17
Definition: dbobject.h:39
Definition: dbobject.h:37
The objecture of a database.
Definition: dbobject.h:28
Definition: dbobject.h:41