KLayout Manual: Main Index » Class Index » API reference - Class QSqlRecord

API reference - Class QSqlRecord

Notation used in Ruby API documentation

Description: Binding of QSqlRecord

Public constructors

new QSqlRecordnewConstructor QSqlRecord::QSqlRecord()
new QSqlRecordnew(const QSqlRecord other)Constructor QSqlRecord::QSqlRecord(const QSqlRecord &other)

Public methods

[const]bool!=(const QSqlRecord other)Method bool QSqlRecord::operator!=(const QSqlRecord &other)
[const]bool==(const QSqlRecord other)Method bool QSqlRecord::operator==(const QSqlRecord &other)
voidappend(const QSqlField field)Method void QSqlRecord::append(const QSqlField &field)
QSqlRecordassign(const QSqlRecord other)Method QSqlRecord & QSqlRecord::operator=(const QSqlRecord &other)
[const]voidassign(const QSqlRecord other)Assign the contents of another object to self
voidclearMethod void QSqlRecord::clear()
voidclearValuesMethod void QSqlRecord::clearValues()
[const]boolcontains(string name)Method bool QSqlRecord::contains(const QString &name)
[const]intcountMethod int QSqlRecord::count()
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QSqlRecorddupCreates a copy of self
[const]QSqlFieldfield(string name)Method QSqlField QSqlRecord::field(const QString &name)
[const]QSqlFieldfield(int i)Method QSqlField QSqlRecord::field(int i)
[const]stringfieldName(int i)Method QString QSqlRecord::fieldName(int i)
[const]intindexOf(string name)Method int QSqlRecord::indexOf(const QString &name)
voidinsert(int pos,
const QSqlField field)
Method void QSqlRecord::insert(int pos, const QSqlField &field)
[const]boolisEmptyMethod bool QSqlRecord::isEmpty()
[const]boolisEmpty?Method bool QSqlRecord::isEmpty()
[const]boolisGenerated(string name)Method bool QSqlRecord::isGenerated(const QString &name)
[const]boolisGenerated(int i)Method bool QSqlRecord::isGenerated(int i)
[const]boolisGenerated?(string name)Method bool QSqlRecord::isGenerated(const QString &name)
[const]boolisGenerated?(int i)Method bool QSqlRecord::isGenerated(int i)
[const]boolisNull(string name)Method bool QSqlRecord::isNull(const QString &name)
[const]boolisNull(int i)Method bool QSqlRecord::isNull(int i)
[const]boolisNull?(string name)Method bool QSqlRecord::isNull(const QString &name)
[const]boolisNull?(int i)Method bool QSqlRecord::isNull(int i)
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
voidnull=(string name)Method void QSqlRecord::setNull(const QString &name)
voidnull=(int i)Method void QSqlRecord::setNull(int i)
voidremove(int pos)Method void QSqlRecord::remove(int pos)
voidreplace(int pos,
const QSqlField field)
Method void QSqlRecord::replace(int pos, const QSqlField &field)
voidsetGenerated(int i,
bool generated)
Method void QSqlRecord::setGenerated(int i, bool generated)
voidsetGenerated(string name,
bool generated)
Method void QSqlRecord::setGenerated(const QString &name, bool generated)
voidsetNull(string name)Method void QSqlRecord::setNull(const QString &name)
voidsetNull(int i)Method void QSqlRecord::setNull(int i)
voidsetValue(int i,
const QVariant val)
Method void QSqlRecord::setValue(int i, const QVariant &val)
voidsetValue(string name,
const QVariant val)
Method void QSqlRecord::setValue(const QString &name, const QVariant &val)
[const]QVariantvalue(string name)Method QVariant QSqlRecord::value(const QString &name)
[const]QVariantvalue(int i)Method QVariant QSqlRecord::value(int i)

Detailed description

[const] bool !=(const QSqlRecord other)

Description: Method bool QSqlRecord::operator!=(const QSqlRecord &other)

[const] bool ==(const QSqlRecord other)

Description: Method bool QSqlRecord::operator==(const QSqlRecord &other)

void append(const QSqlField field)

Description: Method void QSqlRecord::append(const QSqlField &field)

QSqlRecord assign(const QSqlRecord other)

Description: Method QSqlRecord & QSqlRecord::operator=(const QSqlRecord &other)

[const] void assign(const QSqlRecord other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

void clear

Description: Method void QSqlRecord::clear()

void clearValues

Description: Method void QSqlRecord::clearValues()

[const] bool contains(string name)

Description: Method bool QSqlRecord::contains(const QString &name)

[const] int count

Description: Method int QSqlRecord::count()

void create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

void destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] QSqlRecord dup

Description: Creates a copy of self

[const] QSqlField field(string name)

Description: Method QSqlField QSqlRecord::field(const QString &name)

[const] QSqlField field(int i)

Description: Method QSqlField QSqlRecord::field(int i)

[const] string fieldName(int i)

Description: Method QString QSqlRecord::fieldName(int i)

[const] int indexOf(string name)

Description: Method int QSqlRecord::indexOf(const QString &name)

void insert(int pos,const QSqlField field)

Description: Method void QSqlRecord::insert(int pos, const QSqlField &field)

[const] bool isEmpty

Description: Method bool QSqlRecord::isEmpty()

[const] bool isEmpty?

Description: Method bool QSqlRecord::isEmpty()

[const] bool isGenerated(string name)

Description: Method bool QSqlRecord::isGenerated(const QString &name)

[const] bool isGenerated(int i)

Description: Method bool QSqlRecord::isGenerated(int i)

[const] bool isGenerated?(string name)

Description: Method bool QSqlRecord::isGenerated(const QString &name)

[const] bool isGenerated?(int i)

Description: Method bool QSqlRecord::isGenerated(int i)

[const] bool isNull(string name)

Description: Method bool QSqlRecord::isNull(const QString &name)

[const] bool isNull(int i)

Description: Method bool QSqlRecord::isNull(int i)

[const] bool isNull?(string name)

Description: Method bool QSqlRecord::isNull(const QString &name)

[const] bool isNull?(int i)

Description: Method bool QSqlRecord::isNull(int i)

[const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

[static] new QSqlRecord new

Description: Constructor QSqlRecord::QSqlRecord()

This method creates an object of class QSqlRecord.

[static] new QSqlRecord new(const QSqlRecord other)

Description: Constructor QSqlRecord::QSqlRecord(const QSqlRecord &other)

This method creates an object of class QSqlRecord.

void null=(string name)

Description: Method void QSqlRecord::setNull(const QString &name)

void null=(int i)

Description: Method void QSqlRecord::setNull(int i)

void remove(int pos)

Description: Method void QSqlRecord::remove(int pos)

void replace(int pos,const QSqlField field)

Description: Method void QSqlRecord::replace(int pos, const QSqlField &field)

void setGenerated(int i,bool generated)

Description: Method void QSqlRecord::setGenerated(int i, bool generated)

void setGenerated(string name,bool generated)

Description: Method void QSqlRecord::setGenerated(const QString &name, bool generated)

void setNull(string name)

Description: Method void QSqlRecord::setNull(const QString &name)

void setNull(int i)

Description: Method void QSqlRecord::setNull(int i)

void setValue(int i,const QVariant val)

Description: Method void QSqlRecord::setValue(int i, const QVariant &val)

void setValue(string name,const QVariant val)

Description: Method void QSqlRecord::setValue(const QString &name, const QVariant &val)

[const] QVariant value(string name)

Description: Method QVariant QSqlRecord::value(const QString &name)

[const] QVariant value(int i)

Description: Method QVariant QSqlRecord::value(int i)