CFx SDK Documentation
2023 SP0
|
#include <DbAudit.h>
Public Member Functions | |
virtual void | printError (const OdString &name, const OdString &value, const OdString &validation=OdString::kEmpty, const OdString &defaultValue=OdString::kEmpty) |
virtual void | printError (const OdRxObject *pObject, const OdString &value, const OdString &validation=OdString::kEmpty, const OdString &defaultValue=OdString::kEmpty) |
Public Member Functions inherited from OdAuditInfo | |
OdAuditInfo () | |
virtual | ~OdAuditInfo () |
bool | fixErrors () const |
void | setFixErrors (bool fixErrors) |
int | numErrors () const |
int | numFixes () const |
void | errorsFound (int count) |
void | errorsFixed (int count) |
virtual void | printInfo (const OdString &logInfo) |
void | requestRegen () |
void | resetNumEntities () |
void | incNumEntities () |
int | numEntities () |
virtual const MsgInfo & | getLastInfo () |
virtual void | setLastInfo (MsgInfo &lastInfo) |
void | setPrintDest (PrintDest printDest) |
PrintDest | getPrintDest () |
Additional Inherited Members | |
Public Types inherited from OdAuditInfo | |
enum | PrintDest { kSilent = 0 , kCmdLine = 1 , kFile = 2 , kBoth = 3 } |
This class tracks audit information during a database audit.
<group OdDb_Classes>
|
virtual |
Notification function called to print error information.
pObject | [in] Pointer to the object which generated the error. |
value | [in] Value of the bad data. |
validation | [in] Reason the data were bad. |
defaultValue | [in] Default value to which the were set. |
Reimplemented from OdAuditInfo.
|
virtual |
Notification function called to print error information.
name | [in] Type of erroneous data found. |
value | [in] Value of the bad data. |
validation | [in] Reason the data were bad. |
defaultValue | [in] Default value to which the were set. |
Reimplemented from OdAuditInfo.