- Main Page
- Classes
- Files
- Directories

- File List
- File Members

# fbxstatistics.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_STATISTICS_H_
    00014 #define _FBXSDK_FILEIO_STATISTICS_H_
    00015
    00016 #include <fbxsdk/fbxsdk_def.h>
    00017
    00018 #include <fbxsdk/core/base/fbxarray.h>
    00019 #include <fbxsdk/core/base/fbxstring.h>
    00020
    00021 #include <fbxsdk/fbxsdk_nsbegin.h>
    00022
    00062 class FBXSDK_DLL FbxStatistics
    00063 {
    00064 public:
    00066
    00067     FbxStatistics();
    00068     virtual ~FbxStatistics();
    00070
    00072     void Reset();
    00073
    00075     int GetNbItems() const;
    00076
    00083     bool GetItemPair(int pNum, FbxString& pItemName, int& pItemCount) const;
    00084
    00088     FbxStatistics& operator=(const FbxStatistics& pStatistics);
    00089
    00090 protected:
    00096     virtual bool AddItem(FbxString& /*pItemName*/, int /*pItemCount*/) { return false; };
    00097
    00099     FbxArray<FbxString*> mItemName;
    00100
    00102     FbxArray<int> mItemCount;
    00103 };
    00104
    00105 #include <fbxsdk/fbxsdk_nsend.h>
    00106
    00107 #endif /* _FBXSDK_FILEIO_STATISTICS_H_ */