Defines | |
| #define | OSG_PROPERTY_DECL(OSGPROP) enum OSG##OSGPROP##Prop { osg##OSGPROP##Prop } |
| #define | OSG_PROPERTY_SPEC(OSGPROPERTYNAMESPACE, OSGPROP) |
| #define | OSG_PROPERTY_VIOLATION(OSGPROP) |
| #define | OSG_PROPERTY_REQUIREMENT(OSGCLASS, OSGPROP) |
Functions | |
| template<class TypeT > | |
| void | osg::osgSinkUnusedWarning (TypeT) |
ToDo
| #define OSG_PROPERTY_DECL | ( | OSGPROP | ) | enum OSG##OSGPROP##Prop { osg##OSGPROP##Prop } |
Definition at line 58 of file OSGConceptPropertyChecks.h.
| #define OSG_PROPERTY_SPEC | ( | OSGPROPERTYNAMESPACE, | |||
| OSGPROP | ) |
template<class T1> \ struct _OSG_##OSGPROP##_Property_Spec \ { \ static void _OSG_##OSGPROP##_Property_violation(T1 t1) \ { \ OSGPROPERTYNAMESPACE:: \ __OSG_##OSGPROP##_Property_violation(t1); \ } \ }
Definition at line 64 of file OSGConceptPropertyChecks.h.
| #define OSG_PROPERTY_VIOLATION | ( | OSGPROP | ) |
template<class T1> \ static void __OSG_##OSGPROP##_Property_violation(T1) \ { \ while(0) \ { \ typename T1::OSG##OSGPROP##Prop v1 = T1::osg##OSGPROP##Prop; \ \ osgSinkUnusedWarning(v1); \ } \ }
Definition at line 78 of file OSGConceptPropertyChecks.h.
| #define OSG_PROPERTY_REQUIREMENT | ( | OSGCLASS, | |||
| OSGPROP | ) |
typedef void (* _OSG##OSGPROP##PropReqDummyFuncFor##OSGCLASS)(OSGCLASS); \ \ template<_OSG##OSGPROP##PropReqDummyFuncFor##OSGCLASS FuncTypeT> \ struct _OSG##OSGPROP##PropReqDummyStructFor##OSGCLASS \ { \ }; \ \ static _OSG##OSGPROP##PropReqDummyStructFor##OSGCLASS< \ _OSG_##OSGPROP##_Property_Spec<OSGCLASS>:: \ _OSG_##OSGPROP##_Property_violation> \ _OSG##OSGPROP##PropReqDummyStructInstFor##OSGCLASS
Definition at line 97 of file OSGConceptPropertyChecks.h.
| void osg::osgSinkUnusedWarning | ( | TypeT | ) | [inline] |
Definition at line 53 of file OSGConceptPropertyChecks.h.
1.6.1