class datatype
|
Describes an available datatype for the database. More... |
|
|
Public Methods
Describes an available datatype for the database.
datatype (const QString &name,int maxLength=-1,int maxPrecision=-1)
| datatype |
Create a new datatype description.
Parameters:
name | Name of datatype.
|
maxLength | Maximum length of parameter if length is needed.
|
maxPrecision | Maximum precision of parameter if precision is supported.
|
bool hasLength ()
| hasLength |
Returns true if type has length specification.
bool hasPrecision ()
| hasPrecision |
Returns true if type has precision specification.
int maxLength ()
| maxLength |
Get the maximum length value.
int maxPrecision ()
| maxPrecision |
Get the maximum precision of the datatype.
Get the name of the datatype.
bool operator < (const datatype &dat)
| operator < |
[const]
Implemented so that you can easily sort a list of them. Just compares the names.
bool operator == (const datatype &dat)
| operator == |
[const]
Implemented so that you can easily sort a list of them. Just compares the names.
Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54. |