 |
XMP Toolkit SDK
6.0.0
|
Go to the documentation of this file.
44 kESOperationFatal = 1 << 1,
47 kESProcessFatal = 1 << 2,
52 kESMaxValue = 1 << 31,
70 kEDMemoryManagement = 2,
76 kEDMultiThreading = 4,
93 kEDConflictIdentification = 400,
96 kEDConflictResolution = 500,
99 kEDThreeWayMerge = 600,
102 kEDGenericStrategyDatabase = 601,
105 kEDAssetManagement = 10000,
117 virtual eErrorCode APICALL GetCode()
const = 0;
171 virtual
spIError APICALL GetNextError() = 0;
174 return const_cast< IError_v1 *
>( this )->GetNextError();
202 virtual void APICALL SetLocation(
const char * fileName,
sizet lineNumber )
__NOTHROW__ = 0;
211 virtual void APICALL AppendParameter(
const char * parameter,
sizet len =
npos )
__NOTHROW__ = 0;
217 virtual void APICALL AppendParameter(
void * addressParameter )
__NOTHROW__ = 0;
223 virtual void APICALL AppendParameter(
const uint32 & integerValue )
__NOTHROW__ = 0;
229 virtual void APICALL AppendParameter(
const uint64 & integerValue )
__NOTHROW__ = 0;
235 virtual void APICALL AppendParameter(
const int32 & integerValue )
__NOTHROW__ = 0;
241 virtual void APICALL AppendParameter(
const int64 & integerValue )
__NOTHROW__ = 0;
247 virtual void APICALL AppendParameter(
const float & floatValue )
__NOTHROW__ = 0;
253 virtual void APICALL AppendParameter(
const double & doubleValue )
__NOTHROW__ = 0;
259 virtual void APICALL AppendParameter(
bool booleanValue )
__NOTHROW__ = 0;
270 eErrorCode errCode, eErrorSeverity errSeverity );
280 return const_cast< IError_v1 *
>( this )->GetActualIError();
328 #ifdef FRIEND_CLASS_DECLARATION
329 FRIEND_CLASS_DECLARATION();
366 auto retValue =
mSafeProc(
static_cast< uint32 >( errorDomain ),
static_cast< uint32 >( errorCode ),
static_cast< uint32 >( errorSeverity ), message, error );
368 throw IError_v1::MakeShared( error );
369 return retValue != 0 ? true :
false;
379 #endif // __IError_h__
shared_ptr< IError > spIError
eErrorSeverity
Indicates various types of errors.
ReportErrorAndContinueABISafeProc mSafeProc
virtual ~IError_v1() __NOTHROW__
Version1 of the interface that represents an error/warning encountered during processing.
const typedef IUTF8String_v1 * pcIUTF8String_base
IObjectFactory * pIObjectFactory
shared_ptr< const IUTF8String > spcIUTF8String
static const uint32 kMaxEnumValue(Max_XMP_Uns32)
const sizet npos(kMaxSize)
bool operator()(IError_v1::eErrorDomain errorDomain, IError_v1::eErrorCode errorCode, IError_v1::eErrorSeverity errorSeverity, const char *message)
eErrorDomain
Indicates various types of error domains.
static const uint64 kIErrorID(0x6e4572726f722020)
shared_ptr< const IError > spcIError
Interface that serves as the base interface for all the externally exposed interfaces which needs to ...
const typedef IError * pcIError
#define REQ_FRIEND_CLASS_DECLARATION()
uint32(* ReportErrorAndContinueABISafeProc)(uint32 errorDomain, uint32 errorCode, uint32 errorSeverity, const char *message, pcIError_base &error)
A function pointer to report back errors and warnings to the library encountered during the serializa...
ReportErrorAndContinueFunctor(ReportErrorAndContinueABISafeProc safeProc)
A Function object used by the client to report back and warnings to the library encountered during th...
const typedef IError_v1 * pcIError_base
static const uint32 kAllBits(0xFFFFFFFF)
Interface that serves as the base interface of all the externally exposed interfaces.