Base class for FBX file importer and exporter.
Definition at line 32 of file fbxiobase.h.
#include <fbxiobase.h>

Public Member Functions |
|
| virtual bool | Initialize (const char *pFileName) |
| Initializes the object. |
|
| virtual FbxString | GetFileName () |
| Returns the file name. |
|
Protected Member Functions |
|
| FbxIOBase (FbxManager &pManager, char const *pName) | |
| int | DetectReaderFileFormat (const char *pFileName) |
| int | DetectWriterFileFormat (const char *pFileName) |
Protected Attributes |
|
| FbxError | mError |
| FbxString | mFilename |
| FbxManager * | mManager |
| FbxString | mMessage |
Error Management |
|
| enum | EErrorCode
{ eFileCorrupted, eFileVersionNotSupportedYet, eFileVersionNotSupportedAnymore, eFileNotOpened, eFileNotCreated, eOutOfSpace, eUninitializedFileName, eUnknownError, eIndexOutOfRange, ePasswordError, eEmbeddedOutOfSpace, eErrorCount } |
|
Error identifiers. More... |
|
| FbxError & | GetError () |
| Retrieves the error object. |
|
| EErrorCode | GetLastErrorID () const |
| Returns the last error code. |
|
| const char * | GetLastErrorString () const |
| Returns the last error string. |
|
| void | GetMessage (FbxString &pMessage) const |
| Returns the warning message from the file
Reader and Writer. |
|
| enum EErrorCode |
Error identifiers.
Definition at line 72 of file fbxiobase.h.
| FbxIOBase | ( | FbxManager & | pManager, |
| char const * | pName | ||
| ) | [protected] |
| 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 FbxString GetFileName | ( | ) | [virtual] |
Returns the file name.
| FbxError& GetError | ( | ) |
| EErrorCode GetLastErrorID | ( | ) | const |
| const char* GetLastErrorString | ( | ) | const |
Returns the last error string.
| void GetMessage | ( | FbxString & | pMessage | ) | const |
Returns the warning message from the file Reader and Writer.
| pMessage | The warning message. |
| int DetectReaderFileFormat | ( | const char * | pFileName | ) | [protected] |
| int DetectWriterFileFormat | ( | const char * | pFileName | ) | [protected] |
Definition at line 123 of file fbxiobase.h.
Definition at line 124 of file fbxiobase.h.
FbxManager* mManager
[protected] |
Definition at line 125 of file fbxiobase.h.
Definition at line 126 of file fbxiobase.h.