Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opie::DB::OSQLTableItem Class Reference

#include </home/clem/local/src/opie/libopie2/opiedb/osqltable.h>

Collaboration diagram for Opie::DB::OSQLTableItem:

Collaboration graph
[legend]
List of all members.

Public Types

typedef QValueList< OSQLTableItemValueList
enum  Type {
  Undefined = -1, Integer = 0, BigInteger = 1, Float = 2,
  VarChar = 4
}

Public Member Functions

 OSQLTableItem ()
 OSQLTableItem (enum Type type, const QString &fieldName, const QVariant &var=QVariant())
 OSQLTableItem (const OSQLTableItem &)
 ~OSQLTableItem ()
OSQLTableItemoperator= (const OSQLTableItem &)
QString fieldName () const
Type type () const
QVariant more () const

Private Attributes

OSQLTableItemPrivate * d
Type m_type
QString m_field
QVariant m_var

Detailed Description

OSQLTableItem saves one column of a complete table

Definition at line 14 of file osqltable.h.


Member Typedef Documentation

typedef QValueList<OSQLTableItem> Opie::DB::OSQLTableItem::ValueList
 

Definition at line 16 of file osqltable.h.


Member Enumeration Documentation

enum Opie::DB::OSQLTableItem::Type
 

Type kinds ( to be extended )

Enumeration values:
Undefined 
Integer 
BigInteger 
Float 
VarChar 

Definition at line 20 of file osqltable.h.


Constructor & Destructor Documentation

OSQLTableItem::OSQLTableItem  ) 
 

A constructor

Parameters:
type the Type of the Column
fieldName the Name of the Column
var a Variant

Definition at line 5 of file osqltable.cpp.

OSQLTableItem::OSQLTableItem enum Type  type,
const QString fieldName,
const QVariant &  var = QVariant()
 

Definition at line 6 of file osqltable.cpp.

OSQLTableItem::OSQLTableItem const OSQLTableItem  ) 
 

copy c'tor

Definition at line 14 of file osqltable.cpp.

OSQLTableItem::~OSQLTableItem  ) 
 

d'tor

Definition at line 13 of file osqltable.cpp.


Member Function Documentation

QString OSQLTableItem::fieldName  )  const
 

the fieldName

Definition at line 23 of file osqltable.cpp.

References m_field.

QVariant OSQLTableItem::more  )  const
 

Definition at line 29 of file osqltable.cpp.

References m_var.

OSQLTableItem & OSQLTableItem::operator= const OSQLTableItem  ) 
 

Definition at line 17 of file osqltable.cpp.

References m_field, m_type, and m_var.

OSQLTableItem::Type OSQLTableItem::type  )  const
 

the field Type

Definition at line 26 of file osqltable.cpp.

References m_type.


Member Data Documentation

OSQLTableItemPrivate* Opie::DB::OSQLTableItem::d [private]
 

Definition at line 56 of file osqltable.h.

QString Opie::DB::OSQLTableItem::m_field [private]
 

Definition at line 59 of file osqltable.h.

Referenced by fieldName(), and operator=().

Type Opie::DB::OSQLTableItem::m_type [private]
 

Definition at line 58 of file osqltable.h.

Referenced by operator=(), and type().

QVariant Opie::DB::OSQLTableItem::m_var [private]
 

Definition at line 60 of file osqltable.h.

Referenced by more(), and operator=().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:01:22 2005 for OPIE by  doxygen 1.4.2