Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

KDB::Record Class Reference

A collection of fields with relevant values. More...

#include <record.h>

Inheritance diagram for KDB::Record:

KDB::DataObject KDB::Object KDB::KShared KDB::QObject List of all members.

Public Methods

 Record (Recordset *r, Handler *h, Row values)
 ~Record ()
FieldIterator begin ()
Fieldoperator[] (const QString& name)
Fieldoperator[] (int index)
Fieldfield (const QString & name)
Fieldfield (int index)
void update ()

Detailed Description

A collection of fields with relevant values.

The fields should be accessed like an associative array:

 rec["field1"] = "value"; or rec[1] = "value"; 

there are two record types: updatable and read only, depending on the parent recordset

Author(s):
Alessandro Praduroux <pradu@thekompany.com> , Michael Koch <m_kock@bigfoot.de>
Version:
kdbcore 0.0.2


Constructor & Destructor Documentation

Record ( Recordset * r,
Handler * h,
Row values )
 

~Record ( )
 


Member Function Documentation

FieldIterator begin ( )
 

Field& field ( int index )
 

Field& field ( const QString & name )
 

Field& operator[] ( int index )
 

Field& operator[] ( const QString & name )
 

void update ( )
 


The documentation for this class was generated from the following file:
Generated at Fri Sep 29 16:32:22 2000 for KDB by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000