HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OperatorBool.h File Reference
+ Include dependency graph for OperatorBool.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ALEMBIC_OPERATOR_BOOL(PASS_COND)
 
#define ALEMBIC_OVERRIDE_OPERATOR_BOOL(PASS_COND)
 

Macro Definition Documentation

#define ALEMBIC_OPERATOR_BOOL (   PASS_COND)
Value:
void __unspecified_bool_type_fcn() const {} \
typedef void (this_type::*unspecified_bool_type)() const; \
operator unspecified_bool_type() const \
{ \
return ( PASS_COND ) ? &this_type::__unspecified_bool_type_fcn : 0; \
} \
bool operator! () const \
{ \
return !( PASS_COND ); \
}
void
Definition: png.h:1083
Usd_Term operator!(Usd_PrimFlags flag)
Definition: primFlags.h:131

Definition at line 42 of file OperatorBool.h.

#define ALEMBIC_OVERRIDE_OPERATOR_BOOL (   PASS_COND)
Value:
operator unspecified_bool_type() const \
{ \
return ( PASS_COND ) ? \
&operator_bool_base_type::__unspecified_bool_type_fcn : 0; \
} \
bool operator! () const \
{ \
return !( PASS_COND ); \
}
Usd_Term operator!(Usd_PrimFlags flag)
Definition: primFlags.h:131

Definition at line 56 of file OperatorBool.h.