#include <kfbxio.h>
Definition at line 57 of file kfbxio.h.
Error Management |
|
enum | EError { eFILE_CORRUPTED, eFILE_VERSION_NOT_SUPPORTED_YET, eFILE_VERSION_NOT_SUPPORTED_ANYMORE, eFILE_NOT_OPENED, eFILE_NOT_CREATED, eOUT_OF_DISK_SPACE, eUNINITIALIZED_FILENAME, eUNIDENTIFIED_ERROR, eINDEX_OUT_OF_RANGE, ePASSWORD_ERROR, eEMBEDDED_OUT_OF_SPACE, eERROR_COUNT } |
Error identifiers. More... |
|
KError & | GetError () |
Retrieves the error object. |
|
EError | GetLastErrorID () const |
Returns the last error code. |
|
const char * | GetLastErrorString () const |
Returns the last error string. |
|
void | GetMessage (KString &pMessage) const |
Returns the warning message from the file
Reader and Writer. |
|
Public Member Functions |
|
virtual bool | Initialize (const char *pFileName) |
Initializes the object. |
|
virtual KString | GetFileName () |
Returns the file name. |
enum EError |
Error identifiers.
virtual bool Initialize | ( | const char * | pFileName | ) | [virtual] |
Initializes the object.
pFileName | The name of the file to access. |
True
if successful, returns false
otherwise.virtual KString GetFileName | ( | ) | [virtual] |
Returns the file name.
KError& GetError | ( | ) |
Retrieves the error object.
EError GetLastErrorID | ( | ) | const |
Returns the last error code.
const char* GetLastErrorString | ( | ) | const |
Returns the last error string.
void GetMessage | ( | KString & | pMessage | ) | const |
Returns the warning message from the file Reader and Writer.
pMessage | The warning message. |