HDK
|
#include <predicateLibrary.h>
Classes | |
class | Param |
Public Member Functions | |
SdfPredicateParamNamesAndDefaults (std::initializer_list< Param > const ¶ms) | |
Construct or implicitly convert from initializer_list<Param>. More... | |
SDF_API bool | CheckValidity () const |
std::vector< Param > const & | GetParams () const & |
Return a reference to the parameters in a vector. More... | |
std::vector< Param > | GetParams () const && |
Move-return the parameters in a vector. More... | |
Represents named function parameters, with optional default values. These are generally constructed via an initializer_list and specified in SdfPredicateLibrary::Define().
Valid parameter names and defaults have non-empty names, and all parameters following the first one with a default value must also have default values.
Definition at line 53 of file predicateLibrary.h.
|
inline |
Construct or implicitly convert from initializer_list<Param>.
Definition at line 70 of file predicateLibrary.h.
SDF_API bool SdfPredicateParamNamesAndDefaults::CheckValidity | ( | ) | const |
Check that all parameters have non-empty names and that all paramters following the first with a default value also have default values. Issue TF_CODING_ERROR()s and return false if these conditions are violated, otherwise return true.
Return a reference to the parameters in a vector.
Definition at line 82 of file predicateLibrary.h.
|
inline |
Move-return the parameters in a vector.
Definition at line 87 of file predicateLibrary.h.