FbxStatistics Class Reference
#include <fbxstatistics.h>
This class is a basic class to get the quantity of items.
User processes the statistics raw data by deriving FbxStatistics class and overrides AddItem
method. When overriding AddItem
method, User must store item's name and item's count by pair which means The index of one item's name in array mItemName
is the same as the index of this item's count in array mItemCount
.
Here is a code snippet to show how it used.
{
public:
{
return true;
};
};
MyStatistics lStatistics;
int lItemCount;
if( lStatistics.GetItemPair( 0, lItemName, lItemCount))
{
}
Definition at line 62 of file fbxstatistics.h.
|
virtual bool | AddItem (FbxString &, int) |
| virtual function to define the process of the incoming statistics data. More...
|
|
bool GetItemPair |
( |
int |
pNum, |
|
|
FbxString & |
pItemName, |
|
|
int & |
pItemCount |
|
) |
| const |
Get the statistics information by pair.
- Parameters
-
pNum | The index of statistics data to be got. |
pItemName | Output the item's name. |
pItemCount | Output the item's count. |
- Returns
True
if successful, False
otherwise.
Assignment operator.
- Parameters
-
virtual function to define the process of the incoming statistics data.
- Parameters
-
pItemName | The item's name |
pItemCount | The item's count. |
- Returns
- False.
Definition at line 96 of file fbxstatistics.h.
The documentation for this class was generated from the following file: