fbxsdk/fileio/fbxstatistics.h Source File

fbxstatistics.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_FILEIO_STATISTICS_H_
14 #define _FBXSDK_FILEIO_STATISTICS_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
20 
21 #include <fbxsdk/fbxsdk_nsbegin.h>
22 
63 {
64 public:
66 
67  FbxStatistics();
68  virtual ~FbxStatistics();
70 
72  void Reset();
73 
75  int GetNbItems() const;
76 
83  bool GetItemPair(int pNum, FbxString& pItemName, int& pItemCount) const;
84 
88  FbxStatistics& operator=(const FbxStatistics& pStatistics);
89 
90 protected:
96  virtual bool AddItem(FbxString& /*pItemName*/, int /*pItemCount*/) { return false; };
97 
99  FbxArray<FbxString*> mItemName;
100 
103 };
104 
105 #include <fbxsdk/fbxsdk_nsend.h>
106 
107 #endif /* _FBXSDK_FILEIO_STATISTICS_H_ */
FBX SDK environment definition.
Utility class to manipulate strings.
Definition: fbxstring.h:66
This class is a basic class to get the quantity of items.
Definition: fbxstatistics.h:62
FbxArray< int > mItemCount
An array to store item's count.
#define FBXSDK_DLL
Definition: fbxarch.h:173