Describes a diagnostic reported while reading a model file. More...
Public Types | |
| enum | SeverityType { Warning = 0 , Error = 1 } |
| Specifies the severity of a diagnostic. More... | |
| enum | CategoryType { Parsing = 0 , Conversion = 1 } |
| Specifies the stage of the import process that reported a diagnostic. More... | |
| enum | CodeType { UnsupportedVersion = 0 , UnsupportedFileType = 1 , GenericGeometryError = 2 , Unknown = 3 } |
| Specifies a machine-readable diagnostic code. More... | |
Public Member Functions | |
| ModelReaderDiagnosticsData (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| ModelReaderDiagnosticsData (cadex.ModelData.ModelReaderDiagnosticsData.SeverityType theSeverity, cadex.ModelData.ModelReaderDiagnosticsData.CategoryType theCategory, cadex.ModelData.ModelReaderDiagnosticsData.CodeType theCode, cadex.UTF16String theMessage) | |
| Constructs a diagnostic record. | |
| cadex.ModelData.ModelReaderDiagnosticsData.SeverityType | Severity () |
| Returns the severity of the diagnostic. | |
| cadex.ModelData.ModelReaderDiagnosticsData.CategoryType | Category () |
| Returns the stage of the import process that reported the diagnostic. | |
| cadex.ModelData.ModelReaderDiagnosticsData.CodeType | Code () |
| Returns the machine-readable diagnostic code. | |
| cadex.UTF16String | Message () |
| Returns the human-readable diagnostic message. | |
Public Member Functions inherited from cadex.BaseObject | |
| BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| bool | IsNull () |
| ulong | Id () |
| Return unique identifier of public object. | |
| bool | IsEqual (cadex.BaseObject theObj) |
| override int | GetHashCode () |
| override bool | Equals (System.Object o) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Describes a diagnostic reported while reading a model file.
A diagnostic contains a severity, an import-stage category, a machine-readable code, and a human-readable message.
Specifies the stage of the import process that reported a diagnostic.
Specifies a machine-readable diagnostic code.
Specifies the severity of a diagnostic.
|
inline |
Constructs a diagnostic record.
| theSeverity | Severity of the diagnostic. |
| theCategory | Stage of the import process that reported the diagnostic. |
| theCode | Machine-readable diagnostic code. |
| theMessage | Human-readable details of the diagnostic. |
|
inline |
Returns the stage of the import process that reported the diagnostic.
|
inline |
Returns the machine-readable diagnostic code.
|
inlineprotectedvirtual |
Reimplemented from cadex.BaseObject.
|
inline |
Returns the human-readable diagnostic message.
|
inline |
Returns the severity of the diagnostic.