#include <lookupfieldschema.h>
Public Types | |
| enum | Type { NoType , Table , Query , SQLStatement , ValueList , FieldList } |
Public Member Functions | |
| Type | type () const |
| void | setType (Type type) |
| TQString | typeName () const |
| void | setTypeByName (const TQString &typeName) |
| TQString | name () const |
| void | setName (const TQString &name) |
| TQStringList | values () const |
| void | setValues (const TQStringList &values) |
| TQString | debugString () const |
| void | debug () const |
Detailed Description
Row source information that can be specified for the lookup field schema.
Definition at line 60 of file lookupfieldschema.h.
Member Enumeration Documentation
◆ Type
Row source type.
Definition at line 63 of file lookupfieldschema.h.
Constructor & Destructor Documentation
◆ RowSource()
| LookupFieldSchema::RowSource::RowSource | ( | ) |
Definition at line 30 of file lookupfieldschema.cpp.
◆ ~RowSource()
| LookupFieldSchema::RowSource::~RowSource | ( | ) |
Definition at line 36 of file lookupfieldschema.cpp.
Member Function Documentation
◆ debug()
| void LookupFieldSchema::RowSource::debug | ( | ) | const |
Shows debug information.
Definition at line 97 of file lookupfieldschema.cpp.
◆ debugString()
| TQString LookupFieldSchema::RowSource::debugString | ( | ) | const |
- Returns
- String for debugging purposes.
Definition at line 91 of file lookupfieldschema.cpp.
◆ name()
|
inline |
- Returns
- a string for row source: table name, query name or anonymous query provided as KEXISQL string. If rowSourceType() is a ValueList, rowSourceValues() should be used instead. If rowSourceType() is a FieldList, rowSource() should return table or query name.
Definition at line 95 of file lookupfieldschema.h.
◆ setName()
| void LookupFieldSchema::RowSource::setName | ( | const TQString & | name | ) |
◆ setType()
|
inline |
Sets row source type to type.
Definition at line 81 of file lookupfieldschema.h.
◆ setTypeByName()
| void LookupFieldSchema::RowSource::setTypeByName | ( | const TQString & | typeName | ) |
Sets row source type by name using typeName. Accepted (cast sensitive) names are "table", "query", "sql", "valuelist", "fieldlist". For other value NoType type is set.
Definition at line 61 of file lookupfieldschema.cpp.
◆ setValues()
| void LookupFieldSchema::RowSource::setValues | ( | const TQStringList & | values | ) |
Sets row source values used if type() is ValueList. Using it clears name (see name()).
Definition at line 82 of file lookupfieldschema.cpp.
◆ type()
|
inline |
- Returns
- row source type: table, query, anonymous; in the future it will be also fixed value list and field list. The latter is basically a list of column names of a table/query, "Field List" in MSA.
Definition at line 78 of file lookupfieldschema.h.
◆ typeName()
| TQString LookupFieldSchema::RowSource::typeName | ( | ) | const |
- Returns
- row source type name.
- See also
- setTypeByName()
Definition at line 48 of file lookupfieldschema.cpp.
◆ values()
| TQStringList LookupFieldSchema::RowSource::values | ( | ) | const |
- Returns
- row source values specified if type() is ValueList.
Definition at line 77 of file lookupfieldschema.cpp.
The documentation for this class was generated from the following files:
