fbxsdk/core/base/fbxfolder.h Source File

fbxfolder.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2015 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_CORE_BASE_FOLDER_H_
14 #define _FBXSDK_CORE_BASE_FOLDER_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
18 #ifndef FBXSDK_ENV_WINSTORE
19 
21 
22 #include <fbxsdk/fbxsdk_nsbegin.h>
23 
26 {
27 public:
30  {
32  eFolderEntry
33  };
34 
38  bool Open(const char* pFolderPath_UTF8);
39 
42  bool Next();
43 
46  EEntryType GetEntryType() const;
47 
50  FbxString GetEntryName() const;
51 
54  char* GetEntryExtension() const;
55 
57  void Close();
58 
61  bool IsOpen() const;
62 
63 /*****************************************************************************************************************************
64 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
65 *****************************************************************************************************************************/
66 #ifndef DOXYGEN_SHOULD_SKIP_THIS
67  FbxFolder();
68  ~FbxFolder();
69 
70 private:
71  struct FolderImpl;
72  FolderImpl* mImpl;
73 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
74 };
75 
76 #include <fbxsdk/fbxsdk_nsend.h>
77 
78 #endif /* !FBXSDK_ENV_WINSTORE */
79 
80 #endif /* _FBXSDK_CORE_BASE_FOLDER_H_ */
FBX SDK environment definition.
Utility class to manipulate strings.
Definition: fbxstring.h:66
EEntryType
The different entry type that can be found in folders.
Definition: fbxfolder.h:29
Regular entry, such as file.
Definition: fbxfolder.h:31
#define FBXSDK_DLL
Definition: fbxarch.h:173
Class for iterating into file system folders and the items contained.
Definition: fbxfolder.h:25