fbxstatisticsfbx.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /****************************************************************************************
  2. Copyright (C) 2015 Autodesk, Inc.
  3. All rights reserved.
  4. Use of this software is subject to the terms of the Autodesk license agreement
  5. provided at the time of installation or download, or which otherwise accompanies
  6. this software in either electronic or hard copy form.
  7. ****************************************************************************************/
  8. //! \file fbxstatisticsfbx.h
  9. #ifndef _FBXSDK_FILEIO_STATISTICS_FBX_H_
  10. #define _FBXSDK_FILEIO_STATISTICS_FBX_H_
  11. #include <fbxsdk/fbxsdk_def.h>
  12. #include <fbxsdk/fileio/fbxstatistics.h>
  13. #include <fbxsdk/fbxsdk_nsbegin.h>
  14. /*****************************************************************************************************************************
  15. ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
  16. *****************************************************************************************************************************/
  17. #ifndef DOXYGEN_SHOULD_SKIP_THIS
  18. class FbxStatisticsFbx : public FbxStatistics
  19. {
  20. public:
  21. virtual bool AddItem(FbxString& pItemName, int pItemCount)
  22. {
  23. mItemName.Add( FbxNew< FbxString >(pItemName) );
  24. mItemCount.Add( pItemCount);
  25. return true;
  26. };
  27. };
  28. #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
  29. #include <fbxsdk/fbxsdk_nsend.h>
  30. #endif /* _FBXSDK_FILEIO_STATISTICS_FBX_H_ */