AL_USDMaya  0.16.6
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AL::usdmaya::nodes::SchemaNodeRefDB::value_compare Struct Reference

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

#include <VariantDB.h>

Public Member Functions

bool operator() (const SchemaNodeRef &a, const SdfPath &b) const
 compare schema node ref to path More...
 
bool operator() (const SdfPath &a, const SchemaNodeRef &b) const
 compare schema node ref to path More...
 
bool operator() (const SchemaNodeRef &a, const SchemaNodeRef &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::nodes::SchemaNodeRefDB::value_compare::operator() ( const SchemaNodeRef 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::nodes::SchemaNodeRefDB::value_compare::operator() ( const SdfPath &  a,
const SchemaNodeRef 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::nodes::SchemaNodeRefDB::value_compare::operator() ( const SchemaNodeRef a,
const SchemaNodeRef 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: