HDK
|
#include <predicateLibrary.h>
Public Types | |
enum | Constancy { IsConstant, MayVary } |
Public Member Functions | |
constexpr | SdfPredicateFunctionResult () |
Default construction produces a 'false' result that 'MayVary'. More... | |
SdfPredicateFunctionResult (bool value, Constancy constancy=MayVary) | |
Construct with value and constancy . More... | |
bool | GetValue () const |
Return the result value. More... | |
Constancy | GetConstancy () const |
Return the result constancy. More... | |
operator bool () const | |
Return GetValue(). More... | |
Represents the result of a predicate function: a pair of the boolean result and a Constancy token indicating whether the function result is constant over "descendant" objects, or that it might vary over "descendant" objects.
Definition at line 101 of file predicateLibrary.h.
Enumerator | |
---|---|
IsConstant | |
MayVary |
Definition at line 104 of file predicateLibrary.h.
|
inline |
Default construction produces a 'false' result that 'MayVary'.
Definition at line 107 of file predicateLibrary.h.
|
inlineexplicit |
Construct with value
and constancy
.
Definition at line 111 of file predicateLibrary.h.
|
inline |
Return the result constancy.
Definition at line 121 of file predicateLibrary.h.
|
inline |
Return the result value.
Definition at line 116 of file predicateLibrary.h.
|
inlineexplicit |
Return GetValue().
Definition at line 126 of file predicateLibrary.h.