Comparer for KFbxPropertyUrlIndexSet, which outputs consistent partial orders for KFbxPropertyUrlIndex pairs.
Definition at line 83 of file kfbxembeddedfilesaccumulator.h.
#include <kfbxembeddedfilesaccumulator.h>
Public Member Functions |
|
int | operator() (const KFbxPropertyUrlIndex &pUrl1, const KFbxPropertyUrlIndex &pUrl2) const |
int operator() | ( | const KFbxPropertyUrlIndex & | pUrl1, |
const KFbxPropertyUrlIndex & | pUrl2 | ||
) | const [inline] |
Definition at line 85 of file kfbxembeddedfilesaccumulator.h.
{ if( pUrl1.mPropName < pUrl2.mPropName ) { return -1; } if( pUrl2.mPropName < pUrl1.mPropName ) { return 1; } if(pUrl1.mIndex < pUrl2.mIndex) { return -1; } if(pUrl2.mIndex < pUrl1.mIndex) { return 1; } return 0; }