68 return (contains(name));
82 return (fieldName(index));
95 return(indexOf(name));
119 QVariant ftype(field(name).type());
144 QVariant ftype(field(index).type());
156 return (field(name).
isNull());
170 return (QString(field(index).value().
toString()));
184 return (QString(field(name).value().
toString()));
206 retType = QString((tolower(ctype[0]) ==
'q') ? &ctype[1] : ctype).toLower();
QString getType(int index) const
Returns the type of a field/column at the specified index.
bool isNull(const QString &name) const
Determines if the value of the field/column is NULL.
Namespace for the standard library.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
bool hasField(const QString &name) const
Indicates the existance/non-existance of a field in the row.
QString getFieldName(int index) const
Returns the name of a field/column at a particular index.
SqlRecord()
Default Constructor.
Construct and execute a query on a database and manage result.
Namespace for ISIS/Bullet specific routines.
QString QtTypeField(const char *ctype) const
Returns a generic field type given a Qt QVariant type.
QString getValue(int index) const
Returns the value of the field/column at specified index.
int getFieldIndex(const QString &name) const
Return the index of a named field/column This method will determine the index of the named field afte...