#include <cdb.h>
Public Types | |
typedef MapStringToField::const_iterator | const_iterator |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | find (const String &str) const |
void | Clear () |
Record (const String &strRecord="", Table *pTable=0) | |
~Record () | |
void | SetOrigin (const String &strRecord, Table *pTable) |
void | CommitOnClose (Boolean b) |
Boolean | Commit () |
const Field & | operator[] (const String &strName) const |
const Field & | GetField (const String &strName, const Field &fldDefault) const |
Boolean | SetField (const String &strName, const Field &fldValue, Boolean bCreate=TRUE) |
Boolean | RemoveField (const String &strName) |
const SetOfStrings::const_iterator | GetFirstDirty () const |
const SetOfStrings::const_iterator | GetLastDirty () const |
SetOfStrings & | Dirty () |
const SetOfStrings & | Dirty () const |
MapStringToField & | Map () |
const MapStringToField & | Map () const |
Protected Member Functions | |
iterator | begin () |
iterator | end () |
Private Member Functions | |
Record (const Record &) | |
Record & | operator= (const Record &) |
Private Attributes | |
Table * | m_pTable |
String | m_strRecord |
Boolean | m_bCommitOnClose |
SetOfStrings | m_setDirty |
Friends | |
class | Table |
typedef MapStringToField::const_iterator cdb::Record::const_iterator |
cdb::Record::Record | ( | const Record & | ) | [private] |
cdb::Record::~Record | ( | ) |
const_iterator cdb::Record::begin | ( | ) | const [inline] |
iterator cdb::Record::begin | ( | ) | [inline, protected] |
void cdb::Record::Clear | ( | ) |
Boolean cdb::Record::Commit | ( | ) |
void cdb::Record::CommitOnClose | ( | Boolean | b | ) | [inline] |
const SetOfStrings& cdb::Record::Dirty | ( | ) | const [inline] |
SetOfStrings& cdb::Record::Dirty | ( | ) | [inline] |
iterator cdb::Record::end | ( | ) | [inline, protected] |
const_iterator cdb::Record::end | ( | ) | const [inline] |
const_iterator cdb::Record::find | ( | const String & | str | ) | const [inline] |
const SetOfStrings::const_iterator cdb::Record::GetFirstDirty | ( | ) | const [inline] |
const SetOfStrings::const_iterator cdb::Record::GetLastDirty | ( | ) | const [inline] |
const MapStringToField& cdb::Record::Map | ( | ) | const [inline] |
MapStringToField& cdb::Record::Map | ( | ) | [inline] |
Boolean cdb::Record::SetField | ( | const String & | strName, | |
const Field & | fldValue, | |||
Boolean | bCreate = TRUE | |||
) |
friend class Table [friend] |
Boolean cdb::Record::m_bCommitOnClose [private] |
Table* cdb::Record::m_pTable [private] |
SetOfStrings cdb::Record::m_setDirty [private] |
String cdb::Record::m_strRecord [private] |