1QSqlRecordInfo(3qt) QSqlRecordInfo(3qt)
2
3
4
6 QSqlRecordInfo - Encapsulates a set of database field meta data
7
9 #include <qsqlrecord.h>
10
11 Public Members
12 QSqlRecordInfo ()
13 QSqlRecordInfo ( const QSqlFieldInfoList & other )
14 QSqlRecordInfo ( const QSqlRecord & other )
15 size_type contains ( const QString & fieldName ) const
16 QSqlFieldInfo find ( const QString & fieldName ) const
17 QSqlRecord toRecord () const
18
20 The QSqlRecordInfo class encapsulates a set of database field meta
21 data.
22
23 This class is a QValueList that holds a set of database field meta
24 data. Use contains() to see if a given field name exists in the record,
25 and use find() to get a QSqlFieldInfo record for a named field.
26
27 See also QValueList, QSqlFieldInfo, and Database Classes.
28
31 Constructs an empty record info object
32
34 Constructs a copy of other.
35
37 Constructs a QSqlRecordInfo object based on the fields in the
38 QSqlRecord other.
39
41 Returns the number of times a field called fieldName occurs in the
42 record. Returns 0 if no field by that name could be found.
43
45 Returns a QSqlFieldInfo object for the first field in the record which
46 has the field name fieldName. If no matching field is found then an
47 empty QSqlFieldInfo object is returned.
48
50 Returns an empty QSqlRecord based on the field information in this
51 QSqlRecordInfo.
52
53
55 http://doc.trolltech.com/qsqlrecordinfo.html
56 http://www.trolltech.com/faq/tech.html
57
59 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
60 license file included in the distribution for a complete license
61 statement.
62
64 Generated automatically from the source code.
65
67 If you find a bug in Qt, please report it as described in
68 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
69 help you. Thank you.
70
71 The definitive Qt documentation is provided in HTML format; it is
72 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
73 web browser. This man page is provided as a convenience for those users
74 who prefer man pages, although this format is not officially supported
75 by Trolltech.
76
77 If you find errors in this manual page, please report them to qt-
78 bugs@trolltech.com. Please include the name of the manual page
79 (qsqlrecordinfo.3qt) and the Qt version (3.3.8).
80
81
82
83Trolltech AS 2 February 2007 QSqlRecordInfo(3qt)