AL_USDMaya  0.29.4
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AL::usdmaya::fileio::translators::TranslatorContext::value_compare Struct Reference

comparison utility (for sorting array of pointers to node references based on their path) More...

#include <TranslatorContext.h>

Public Member Functions

bool operator() (const PrimLookup &a, const SdfPath &b) const
 compare schema node ref to path More...
 
bool operator() (const SdfPath &a, const PrimLookup &b) const
 compare schema node ref to path More...
 
bool operator() (const PrimLookup &a, const PrimLookup &b) const
 compare schema node ref to path More...
 

Detailed Description

comparison utility (for sorting array of pointers to node references based on their path)

Member Function Documentation

bool AL::usdmaya::fileio::translators::TranslatorContext::value_compare::operator() ( const PrimLookup a,
const SdfPath &  b 
) const
inline

compare schema node ref to path

Parameters
athe node ref pointer on the left of the < operator
bthe sdf path on the right of the < operator
Returns
true if a->primPath() < b, false otherwise
bool AL::usdmaya::fileio::translators::TranslatorContext::value_compare::operator() ( const SdfPath &  a,
const PrimLookup b 
) const
inline

compare schema node ref to path

Parameters
athe sdf path on the left of the < operator
bthe node ref pointer on the right of the < operator
Returns
true if a < b->primPath(), false otherwise
bool AL::usdmaya::fileio::translators::TranslatorContext::value_compare::operator() ( const PrimLookup a,
const PrimLookup b 
) const
inline

compare schema node ref to path

compare schema node ref to schema node ref

Parameters
athe node ref pointer on the left of the < operator
bthe node ref pointer on the right of the < operator
Returns
true if a->primPath() < b->primPath(), false otherwise

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