Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00013 #ifndef _FBXSDK_FILEIO_IO_BASE_H_
00014 #define _FBXSDK_FILEIO_IO_BASE_H_
00015
00016 #include <fbxsdk/fbxsdk_def.h>
00017
00018 #include <fbxsdk/core/fbxobject.h>
00019 #include <fbxsdk/core/base/fbxstatus.h>
00020
00021 #include <fbxsdk/fbxsdk_nsbegin.h>
00022
00023 #define FBXSDK_IO_END_NODE_STR "_End"
00024
00028 class FBXSDK_DLL FbxIOBase : public FbxObject
00029 {
00030 FBXSDK_OBJECT_DECLARE(FbxIOBase, FbxObject);
00031
00032 public:
00038 virtual bool Initialize(const char *pFileName);
00039
00043 virtual FbxString GetFileName();
00044
00046 FbxStatus& GetStatus() { return mStatus; }
00047
00048
00049
00050
00051 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00052 protected:
00053 virtual void Construct(const FbxIOBase* pFrom);
00054
00055 int DetectReaderFileFormat(const char *pFileName);
00056 int DetectWriterFileFormat(const char *pFileName);
00057
00058 FbxStatus mStatus;
00059 FbxString mFilename;
00060 #endif
00061 };
00062
00063 #include <fbxsdk/fbxsdk_nsend.h>
00064
00065 #endif