fbxsdk/core/base/fbxfolder.h Source File
 
 
 
fbxsdk/core/base/fbxfolder.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_CORE_BASE_FOLDER_H_
00014 #define _FBXSDK_CORE_BASE_FOLDER_H_
00015 
00016 #include <fbxsdk/fbxsdk_def.h>
00017 
00018 #ifndef FBXSDK_ENV_WINRT
00019 
00020 #include <fbxsdk/core/base/fbxstring.h>
00021 
00022 #include <fbxsdk/fbxsdk_nsbegin.h>
00023 
00025 class FBXSDK_DLL FbxFolder
00026 {
00027 public:
00029         enum EEntryType
00030         {
00031                 eRegularEntry,  
00032                 eFolderEntry    
00033         };
00034 
00038         bool Open(const char* pFolderPath_UTF8);
00039 
00042         bool Next();
00043 
00046         EEntryType GetEntryType() const;
00047 
00050         FbxString GetEntryName() const;
00051 
00054         char* GetEntryExtension() const;
00055 
00057         void Close();
00058 
00061         bool IsOpen() const;
00062 
00063 /*****************************************************************************************************************************
00064 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
00065 *****************************************************************************************************************************/
00066 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00067         FbxFolder();
00068         ~FbxFolder();
00069 
00070 private:
00071         struct FolderImpl;
00072         FolderImpl* mImpl;
00073 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
00074 };
00075 
00076 #include <fbxsdk/fbxsdk_nsend.h>
00077 
00078 #endif /* !FBXSDK_ENV_WINRT */
00079 
00080 #endif /* _FBXSDK_CORE_BASE_FOLDER_H_ */