API Reference > OdDb Classes > OdAuditInfo Class > OdAuditInfo Methods > printError Method > OdAuditInfo::printError Method (OdRxObject*, OdString&, OdString&, OdString&)
OdAuditInfo::printError Method (OdRxObject*, OdString&, OdString&, OdString&)
Syntax
C++
virtual void printError(const OdRxObject* pObject, const OdString& value, const OdString& validation = OdString::kEmpty, const OdString& defaultValue = OdString::kEmpty);
Parameters 
Description 
const OdRxObject* pObject 
[in] Pointer to the object which generated the error.  
const OdString& value 
[in] Value of the bad data.  
const OdString& validation = OdString::kEmpty 
[in] Reason the data were bad.  
const OdString& defaultValue = OdString::kEmpty 
[in] Default value to which the were set. 

Notification function called to print error information. 

 

pObject->isA()->name() is used to generate the name.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.