audit_base Class Reference

for individual db instances More...

#include <audit_base.hpp>

Inheritance diagram for audit_base:

Inheritance graph
[legend]
Collaboration diagram for audit_base:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 audit_base ()
virtual ~audit_base ()
bool db_insert (void)
bool db_update (changeMap &changes)
bool db_delete (void)
audit_basesetUser (llong id)
audit_basesetDbName (string name)
audit_baseauditField (string name)
audit_baseauditAll (void)

Protected Types

enum  { audit_nil = 0, audit_insert = 1, audit_update = 2, audit_delete = 3 }

Protected Member Functions

bool getOldValues (changeMap &changes)
bool changeAudits (changeMap &changes, AuditTable_Obj &audt)
bool deleteAudits (changeMap &changes, AuditTable_Obj &audt)
bool performAudit (changeMap &changes)

Protected Attributes

auditSet audit_fields
llong user_id
string db_name
enum audit_base:: { ... }  audit_type


Detailed Description

for individual db instances

Definition at line 40 of file audit_base.hpp.


Member Enumeration Documentation

anonymous enum [protected]

Enumerator:
audit_nil 
audit_insert 
audit_update 
audit_delete 

Definition at line 48 of file audit_base.hpp.


Constructor & Destructor Documentation

audit_base::audit_base (  )  [inline]

Definition at line 154 of file audit_base.hpp.

virtual audit_base::~audit_base (  )  [inline, virtual]

Definition at line 155 of file audit_base.hpp.


Member Function Documentation

bool audit_base::getOldValues ( changeMap changes  )  [inline, protected]

bool audit_base::changeAudits ( changeMap changes,
AuditTable_Obj audt 
) [inline, protected]

bool audit_base::deleteAudits ( changeMap changes,
AuditTable_Obj audt 
) [inline, protected]

bool audit_base::performAudit ( changeMap changes  )  [inline, protected]

bool audit_base::db_insert ( void   )  [inline, virtual]

Reimplemented from read_write_base.

Definition at line 157 of file audit_base.hpp.

References audit_insert, audit_type, read_write_base::db_insert(), and performAudit().

bool audit_base::db_update ( changeMap changes  )  [inline, virtual]

Reimplemented from read_write_base.

Definition at line 164 of file audit_base.hpp.

References audit_type, audit_update, read_write_base::db_update(), and performAudit().

bool audit_base::db_delete ( void   )  [inline, virtual]

Reimplemented from read_write_base.

Definition at line 170 of file audit_base.hpp.

References audit_delete, audit_type, read_write_base::db_delete(), and performAudit().

audit_base& audit_base::setUser ( llong  id  )  [inline]

Definition at line 179 of file audit_base.hpp.

References user_id.

audit_base& audit_base::setDbName ( string  name  )  [inline]

Definition at line 185 of file audit_base.hpp.

References db_name.

audit_base& audit_base::auditField ( string  name  )  [inline]

Definition at line 191 of file audit_base.hpp.

References audit_fields.

audit_base& audit_base::auditAll ( void   )  [inline]


Member Data Documentation

Definition at line 44 of file audit_base.hpp.

Referenced by auditAll(), auditField(), changeAudits(), and getOldValues().

Definition at line 45 of file audit_base.hpp.

Referenced by performAudit(), and setUser().

string audit_base::db_name [protected]

Definition at line 46 of file audit_base.hpp.

Referenced by performAudit(), and setDbName().

enum { ... } audit_base::audit_type [protected]


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

Generated on Sat Aug 15 12:48:07 2009 for w3systemsDevelopment by  doxygen 1.5.5