Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends

cdb::Record Class Reference

#include <cdb.h>

Collaboration diagram for cdb::Record:
Collaboration graph
[legend]

List of all members.

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 Fieldoperator[] (const String &strName) const
const FieldGetField (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
SetOfStringsDirty ()
const SetOfStringsDirty () const
MapStringToFieldMap ()
const MapStringToFieldMap () const

Protected Member Functions

iterator begin ()
iterator end ()

Private Member Functions

 Record (const Record &)
Recordoperator= (const Record &)

Private Attributes

Tablem_pTable
String m_strRecord
Boolean m_bCommitOnClose
SetOfStrings m_setDirty

Friends

class Table

Member Typedef Documentation

typedef MapStringToField::const_iterator cdb::Record::const_iterator

Constructor & Destructor Documentation

cdb::Record::Record ( const Record  )  [private]
cdb::Record::Record ( const String strRecord = "",
Table pTable = 0 
)
cdb::Record::~Record (  ) 

Member Function Documentation

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 Field& cdb::Record::GetField ( const String strName,
const Field fldDefault 
) const
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]
Record& cdb::Record::operator= ( const Record  )  [private]
const Field& cdb::Record::operator[] ( const String strName  )  const
Boolean cdb::Record::RemoveField ( const String strName  ) 
Boolean cdb::Record::SetField ( const String strName,
const Field fldValue,
Boolean  bCreate = TRUE 
)
void cdb::Record::SetOrigin ( const String strRecord,
Table pTable 
)

Friends And Related Function Documentation

friend class Table [friend]

Member Data Documentation


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