Qt 4.8
Public Functions | Public Variables | List of all members
QSqlFieldPrivate Class Reference

Public Functions

bool operator== (const QSqlFieldPrivate &other) const
 
 QSqlFieldPrivate (const QString &name, QVariant::Type type)
 
 QSqlFieldPrivate (const QSqlFieldPrivate &other)
 

Public Variables

uint autoval: 1
 
QVariant def
 
uint gen: 1
 
int len
 
QString nm
 
int prec
 
QAtomicInt ref
 
QSqlField::RequiredStatus req
 
uint ro: 1
 
int tp
 
QVariant::Type type
 

Detailed Description

Definition at line 48 of file qsqlfield.cpp.

Constructors and Destructors

◆ QSqlFieldPrivate() [1/2]

QSqlFieldPrivate::QSqlFieldPrivate ( const QString name,
QVariant::Type  type 
)
inline

Definition at line 51 of file qsqlfield.cpp.

Referenced by QSqlField::QSqlField().

52  :
53  ref(1), nm(name), ro(false), type(type), req(QSqlField::Unknown),
54  len(-1), prec(-1), tp(-1), gen(true), autoval(false)
55  {
56  }
QSqlField::RequiredStatus req
Definition: qsqlfield.cpp:89
QAtomicInt ref
Definition: qsqlfield.cpp:85
QVariant::Type type
Definition: qsqlfield.cpp:88

◆ QSqlFieldPrivate() [2/2]

QSqlFieldPrivate::QSqlFieldPrivate ( const QSqlFieldPrivate other)
inline

Definition at line 58 of file qsqlfield.cpp.

59  : ref(1),
60  nm(other.nm),
61  ro(other.ro),
62  type(other.type),
63  req(other.req),
64  len(other.len),
65  prec(other.prec),
66  def(other.def),
67  tp(other.tp),
68  gen(other.gen),
69  autoval(other.autoval)
70  {}
QSqlField::RequiredStatus req
Definition: qsqlfield.cpp:89
QAtomicInt ref
Definition: qsqlfield.cpp:85
QVariant::Type type
Definition: qsqlfield.cpp:88

Functions

◆ operator==()

bool QSqlFieldPrivate::operator== ( const QSqlFieldPrivate other) const
inline

Definition at line 72 of file qsqlfield.cpp.

73  {
74  return (nm == other.nm
75  && ro == other.ro
76  && type == other.type
77  && req == other.req
78  && len == other.len
79  && prec == other.prec
80  && def == other.def
81  && gen == other.gen
82  && autoval == other.autoval);
83  }
QSqlField::RequiredStatus req
Definition: qsqlfield.cpp:89
QVariant::Type type
Definition: qsqlfield.cpp:88

Properties

◆ autoval

uint QSqlFieldPrivate::autoval

Definition at line 95 of file qsqlfield.cpp.

Referenced by operator==().

◆ def

QVariant QSqlFieldPrivate::def

Definition at line 92 of file qsqlfield.cpp.

Referenced by operator==().

◆ gen

uint QSqlFieldPrivate::gen

Definition at line 94 of file qsqlfield.cpp.

Referenced by operator==(), and QSqlField::setGenerated().

◆ len

int QSqlFieldPrivate::len

Definition at line 90 of file qsqlfield.cpp.

Referenced by operator==().

◆ nm

QString QSqlFieldPrivate::nm

Definition at line 86 of file qsqlfield.cpp.

Referenced by operator==().

◆ prec

int QSqlFieldPrivate::prec

Definition at line 91 of file qsqlfield.cpp.

Referenced by operator==().

◆ ref

QAtomicInt QSqlFieldPrivate::ref

Definition at line 85 of file qsqlfield.cpp.

◆ req

QSqlField::RequiredStatus QSqlFieldPrivate::req

Definition at line 89 of file qsqlfield.cpp.

Referenced by operator==().

◆ ro

uint QSqlFieldPrivate::ro

Definition at line 87 of file qsqlfield.cpp.

Referenced by operator==().

◆ tp

int QSqlFieldPrivate::tp

Definition at line 93 of file qsqlfield.cpp.

◆ type

QVariant::Type QSqlFieldPrivate::type

The documentation for this class was generated from the following file: