FbxEmbeddedFilesAccumulator::PropertyUrlIndexCompare Struct Reference
 
 
 
FbxEmbeddedFilesAccumulator::PropertyUrlIndexCompare Struct Reference

#include <fbxembeddedfilesaccumulator.h>


Class Description

Comparer for PropertyUrlIndexSet, which outputs consistent partial orders for PropertyUrlIndex pairs.

Definition at line 55 of file fbxembeddedfilesaccumulator.h.

List of all members.

Public Member Functions

int  operator() (const PropertyUrlIndex &pUrl1, const PropertyUrlIndex &pUrl2) const

Member Function Documentation

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;                
        }

The documentation for this struct was generated from the following file: