#include <Interface_ReportEntity.hxx>
Public Member Functions | |
Standard_EXPORT | Interface_ReportEntity (const Handle(Standard_Transient)&unknown) |
Creates a ReportEntity for an Unknown Entity : Check is empty, and Concerned equates Content (i.e. the Unknown Entity) . | |
Standard_EXPORT | Interface_ReportEntity (const Handle(Interface_Check)&acheck, const Handle(Standard_Transient)&concerned) |
Creates a ReportEntity with its features : - <acheck> is the Check to be memorised - <concerned> is the Entity to which the Check is bound Later, a Content can be set : it is required for an Error . | |
Standard_EXPORT void | SetContent (const Handle(Standard_Transient)&content) |
Sets a Content : it brings non interpreted data which belong to the Concerned Entity. It can be empty then loaded later. Remark that for an Unknown Entity, Content is set by Create. . | |
Standard_EXPORT const Handle_Interface_Check & | Check () const |
Returns the stored Check . | |
Standard_EXPORT Handle_Interface_Check & | CCheck () |
Returns the stored Check in order to change it . | |
Standard_EXPORT Handle_Standard_Transient | Concerned () const |
Returns the stored Concerned Entity. It equates the Content in the case of an Unknown Entity . | |
Standard_EXPORT Standard_Boolean | HasContent () const |
Returns True if a Content is stored (it can equate Concerned) . | |
Standard_EXPORT Standard_Boolean | HasNewContent () const |
Returns True if a Content is stored AND differs from Concerned (i.e. redefines content) : used when Concerned could not be loaded . | |
Standard_EXPORT Handle_Standard_Transient | Content () const |
Returns the stored Content, or a Null Handle Remark that it must be an "Unknown Entity" suitable for the norm of the containing Model . | |
Standard_EXPORT Standard_Boolean | IsError () const |
Returns True for an Error Entity, i.e. if the Check brings at least one Fail message . | |
Standard_EXPORT Standard_Boolean | IsUnknown () const |
Returns True for an Unknown Entity, i,e. if the Check is empty and Concerned equates Content . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
Handle_Interface_Check | thecheck |
Handle_Standard_Transient | theconcerned |
Handle_Standard_Transient | thecontent |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|