RVC::DBASE::OBSERVER Class Reference

OBSERVER class for DBASE objects. The SUBJECT class is DBASE. More...

#include <rvc/dbase.h>

Inheritance diagram for RVC::DBASE::OBSERVER:

Inheritance graph
[legend]
List of all members.

Public Types

enum  STRUCTCHANGE {
  STRUCTCHANGE_Name = 0x00000001, STRUCTCHANGE_Desc = 0x00000002, STRUCTCHANGE_ViewMode = 0x00000004, STRUCTCHANGE_Field = 0x00000008,
  STRUCTCHANGE_FieldsAdded = 0x00000010, STRUCTCHANGE_Flags = 0x00000020, STRUCTCHANGE_AttachmentType = 0x00000040, STRUCTCHANGE_Encoding = 0x00000080,
  STRUCTCHANGE_DBEditorUpdate = 0x00000100, STRUCTCHANGE_DBEditorRebuild = 0x00000200
}

Public Member Functions

 OBSERVER (RVC::DBASE &dbase)
virtual void OnAnyChange ()
virtual void OnDBListAdd (ELEMTYPE ElemType, INT32 ElemNum)
virtual void OnDBListChanged (ELEMTYPE ElemType, INT32 ElemNum)
virtual void OnStructChanged (INT32 TableNum, STRUCTCHANGE SubReason)
virtual void OnTableAdd (INT32 TableNum)
virtual void OnTableDropBegin (INT32 TableNum)
virtual void OnTableDropEnd (INT32 TableNum)
virtual ~OBSERVER ()

Detailed Description

OBSERVER class for DBASE objects. The SUBJECT class is DBASE.

Definition at line 834 of file dbase.h.


Member Enumeration Documentation

enum RVC::DBASE::OBSERVER::STRUCTCHANGE
 

Types of table structural changes made, used in DBTABLE::OBSERVER::OnStructChanged().

Enumeration values:
STRUCTCHANGE_Name 
STRUCTCHANGE_Desc 
STRUCTCHANGE_ViewMode 
STRUCTCHANGE_Field  Something in one or more fields changed.
STRUCTCHANGE_FieldsAdded 
STRUCTCHANGE_Flags 
STRUCTCHANGE_AttachmentType 
STRUCTCHANGE_Encoding 
STRUCTCHANGE_DBEditorUpdate 
STRUCTCHANGE_DBEditorRebuild 

Definition at line 838 of file dbase.h.


Constructor & Destructor Documentation

RVC::DBASE::OBSERVER::OBSERVER RVC::DBASE dbase  )  [inline, explicit]
 

Constructor.

Definition at line 852 of file dbase.h.

virtual RVC::DBASE::OBSERVER::~OBSERVER  )  [inline, virtual]
 

Destructor.

Definition at line 857 of file dbase.h.


Member Function Documentation

virtual void RVC::DBASE::OBSERVER::OnAnyChange  )  [inline, virtual]
 

Called if any change has occured, useful for setting IsDirty flags.

Definition at line 861 of file dbase.h.

virtual void RVC::DBASE::OBSERVER::OnDBListAdd ELEMTYPE  ElemType,
INT32  ElemNum
[inline, virtual]
 

Called if an element entry is added to the dblist.

Definition at line 865 of file dbase.h.

virtual void RVC::DBASE::OBSERVER::OnDBListChanged ELEMTYPE  ElemType,
INT32  ElemNum
[inline, virtual]
 

Called if an element entry is modified in the dblist.

Definition at line 871 of file dbase.h.

virtual void RVC::DBASE::OBSERVER::OnStructChanged INT32  TableNum,
STRUCTCHANGE  SubReason
[inline, virtual]
 

Called when table structure information has changed.

Definition at line 877 of file dbase.h.

virtual void RVC::DBASE::OBSERVER::OnTableAdd INT32  TableNum  )  [inline, virtual]
 

Called when a table is added to the database.

Definition at line 883 of file dbase.h.

virtual void RVC::DBASE::OBSERVER::OnTableDropBegin INT32  TableNum  )  [inline, virtual]
 

Called if a table is being dropped from the database.

Definition at line 888 of file dbase.h.

virtual void RVC::DBASE::OBSERVER::OnTableDropEnd INT32  TableNum  )  [inline, virtual]
 

Called if a table is dropped from the database.

Definition at line 893 of file dbase.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:21:14 2004 for TNTsdk by  doxygen 1.3.8-20040913