#include <customerror.h>
[error_custom_interface]
Public Member Functions | |
MAXON_ADD_TO_COPY_ON_WRITE_REFERENCE_CLASS (void Create(MAXON_SOURCE_LOCATION_DECLARATION, maxon::Int errorCode) { *static_cast< typename S::DirectlyReferencedType::Hxx1::ReferenceClass * >(this)=S::DirectlyReferencedType::Hxx1::ErrObj::GetInstance()();typename S::DirectlyReferencedType::Ptr e=this->MakeWritable(false).GetPointer();e.SetLocation(MAXON_SOURCE_LOCATION_FORWARD);e.SetCustomErrorCode(errorCode);}) | |
MAXON_METHOD void | SetCustomErrorCode (maxon::Int errorCode) |
MAXON_METHOD maxon::Int | GetCustomErrorCode () const |
Private Member Functions | |
MAXON_INTERFACE (ExampleErrorInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxonexample.error.example") | |
|
private |
MAXON_ADD_TO_COPY_ON_WRITE_REFERENCE_CLASS | ( | void Create(MAXON_SOURCE_LOCATION_DECLARATION, maxon::Int errorCode) { *static_cast< typename S::DirectlyReferencedType::Hxx1::ReferenceClass * >(this)=S::DirectlyReferencedType::Hxx1::ErrObj::GetInstance()();typename S::DirectlyReferencedType::Ptr e=this->MakeWritable(false).GetPointer();e.SetLocation(MAXON_SOURCE_LOCATION_FORWARD);e.SetCustomErrorCode(errorCode);} | ) |
MAXON_METHOD void SetCustomErrorCode | ( | maxon::Int | errorCode | ) |
MAXON_METHOD maxon::Int GetCustomErrorCode | ( | ) | const |