HDK
|
#include <primFlags.h>
Public Member Functions | |
Usd_PrimFlagsDisjunction () | |
Usd_PrimFlagsDisjunction (Usd_Term term) | |
Usd_PrimFlagsDisjunction & | operator|= (Usd_Term term) |
Add an additional term to this disjunction. More... | |
USD_API class Usd_PrimFlagsConjunction | operator! () const |
Public Member Functions inherited from Usd_PrimFlagsPredicate | |
Usd_PrimFlagsPredicate () | |
Usd_PrimFlagsPredicate (Usd_PrimFlags flag) | |
Usd_PrimFlagsPredicate (Usd_Term term) | |
Usd_PrimFlagsPredicate & | TraverseInstanceProxies (bool traverse) |
bool | IncludeInstanceProxiesInTraversal () const |
USD_API bool | operator() (const class UsdPrim &prim) const |
Friends | |
class | Usd_PrimFlagsConjunction |
Usd_PrimFlagsDisjunction | operator|| (Usd_Term lhs, Usd_Term rhs) |
Combine two terms to make a disjunction. More... | |
Usd_PrimFlagsDisjunction | operator|| (const Usd_PrimFlagsDisjunction &disjunction, Usd_Term rhs) |
Create a new disjunction with the term rhs added. More... | |
Usd_PrimFlagsDisjunction | operator|| (Usd_Term lhs, const Usd_PrimFlagsDisjunction &disjunction) |
Create a new disjunction with the term lhs added. More... | |
Additional Inherited Members | |
Public Types inherited from Usd_PrimFlagsPredicate | |
typedef bool | result_type |
Static Public Member Functions inherited from Usd_PrimFlagsPredicate | |
static Usd_PrimFlagsPredicate | Tautology () |
static Usd_PrimFlagsPredicate | Contradiction () |
Protected Member Functions inherited from Usd_PrimFlagsPredicate | |
bool | _IsTautology () const |
void | _MakeTautology () |
bool | _IsContradiction () const |
void | _MakeContradiction () |
Usd_PrimFlagsPredicate & | _Negate () |
Usd_PrimFlagsPredicate | _GetNegated () const |
Protected Attributes inherited from Usd_PrimFlagsPredicate | |
Usd_PrimFlagBits | _mask |
Usd_PrimFlagBits | _values |
Disjunction of prim flag predicate terms.
Usually clients will implicitly create disjunctions by ||-ing together flag predicate terms. For example:
See primFlags.h for more details.
Definition at line 402 of file primFlags.h.
|
inline |
Definition at line 405 of file primFlags.h.
|
inlineexplicit |
Definition at line 408 of file primFlags.h.
USD_API class Usd_PrimFlagsConjunction Usd_PrimFlagsDisjunction::operator! | ( | ) | const |
Negate this disjunction, producing a disjunction by De Morgan's law. For instance:
Will negate the disjunction in parens to produce a conjunction equivalent to:
Every expression may be formulated as either a disjunction or a conjuction, but allowing both affords increased expressiveness.
|
inline |
Add an additional term to this disjunction.
Definition at line 414 of file primFlags.h.
|
friend |
Combine two terms to make a disjunction.
Definition at line 472 of file primFlags.h.
|
friend |
Create a new disjunction with the term rhs
added.
Definition at line 477 of file primFlags.h.
|
friend |
Create a new disjunction with the term lhs
added.
Definition at line 482 of file primFlags.h.
|
friend |
Definition at line 455 of file primFlags.h.