#include <fbxembeddedfilesaccumulator.h>
Comparer for PropertyUrlIndexSet, which outputs consistent partial orders for PropertyUrlIndex pairs.
Definition at line 55 of file fbxembeddedfilesaccumulator.h.
Public Member Functions |
|
| int | operator() (const PropertyUrlIndex &pUrl1, const PropertyUrlIndex &pUrl2) const |
| int operator() | ( | const PropertyUrlIndex & | pUrl1, |
| const PropertyUrlIndex & | pUrl2 | ||
| ) | const [inline] |
Definition at line 57 of file fbxembeddedfilesaccumulator.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;
}