fbxscopedloadingfilename.h

Go to the documentation of this file.
00001 /****************************************************************************************
00002  
00003    Copyright (C) 2012 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_CORE_SCOPED_LOADING_FILENAME_H_
00014 #define _FBXSDK_CORE_SCOPED_LOADING_FILENAME_H_
00015 
00016 #include <fbxsdk/fbxsdk_def.h>
00017 
00018 #include <fbxsdk/core/base/fbxstring.h>
00019 
00020 #include <fbxsdk/core/fbxloadingstrategy.h>
00021 #include <fbxsdk/core/fbxmodule.h>
00022 
00023 #include <fbxsdk/fbxsdk_nsbegin.h>
00024 
00028 class FBXSDK_DLL FbxScopedLoadingFileName : public FbxLoadingStrategy
00029 {
00030 public:
00035 
00040     explicit FbxScopedLoadingFileName(const char* pPath);
00041 
00045     virtual ~FbxScopedLoadingFileName();
00046 
00048 
00049 private:
00051     //
00052     //  WARNING!
00053     //
00054     //  Anything beyond these lines may not be documented accurately and is 
00055     //  subject to change without notice.
00056     //
00058     #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059 
00060     FbxModule mInstance;
00061     FbxString mPath;
00062     
00063     // From FbxLoadingStrategy
00064     virtual bool SpecificLoad(FbxPluginData& pData);
00065     virtual void SpecificUnload();
00066 
00067     #endif
00068 };
00069 
00070 #include <fbxsdk/fbxsdk_nsend.h>
00071 
00072 #endif /* _FBXSDK_CORE_SCOPED_LOADING_FILENAME_H_ */