- Main Page
- Classes
- Files
- Directories

- File List
- File Members

# fbxiobase.h

Go to the documentation of this file.

    00001 /****************************************************************************************
    00002
    00003    Copyright (C) 2013 Autodesk, Inc.
    00004    All rights reserved.
    00005
    00006    Use of this software is subject to the terms of the Autodesk license agreement
    00007    provided at the time of installation or download, or which otherwise accompanies
    00008    this software in either electronic or hard copy form.
    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 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
    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 /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
    00061 };
    00062
    00063 #include <fbxsdk/fbxsdk_nsend.h>
    00064
    00065 #endif /* _FBXSDK_FILEIO_IO_BASE_H_ */