Go to the source code of this file.
|
#define | _SDF_FIELDS |
|
#define | _SDF_FIELDS_NAME(tup) HBOOST_PP_TUPLE_ELEM(2, 0, tup) |
|
#define | _SDF_FIELDS_TYPE(tup) HBOOST_PP_TUPLE_ELEM(2, 1, tup) |
|
#define | _SDF_REGISTER_FIELDS(r, unused, elem) reg->template RegisterField< _SDF_FIELDS_TYPE(elem) >(_SDF_FIELDS_NAME(elem)); |
|
#define | _SDF_REGISTER_TYPES(r, unused, elem) reg->template RegisterType< _SDF_FIELDS_TYPE(elem) >(); |
|
#define | _SDF_REGISTER_VALUE_TYPES(r, unused, elem) |
|
#define _SDF_FIELDS_NAME |
( |
|
tup | ) |
HBOOST_PP_TUPLE_ELEM(2, 0, tup) |
#define _SDF_FIELDS_TYPE |
( |
|
tup | ) |
HBOOST_PP_TUPLE_ELEM(2, 1, tup) |
#define _SDF_REGISTER_TYPES |
( |
|
r, |
|
|
|
unused, |
|
|
|
elem |
|
) |
| reg->template RegisterType< _SDF_FIELDS_TYPE(elem) >(); |
#define _SDF_REGISTER_VALUE_TYPES |
( |
|
r, |
|
|
|
unused, |
|
|
|
elem |
|
) |
| |
Value:{ \
reg->template RegisterType<SDF_VALUE_CPP_TYPE(elem)>(); \
reg->template RegisterType<SDF_VALUE_CPP_ARRAY_TYPE(elem)>(); \
}
template<class Registrar >
void SdfRegisterFields |
( |
Registrar * |
reg | ) |
|
|
inline |
Registers each built-in Sd field along with its C++ value type with reg
. reg
can be any type that has a member function: template <class t>=""> void RegisterField(const TfToken&);
This function will be invoked for each (field, type) pair. The template type T will be the C++ value type and the TfToken will be the field name.
Definition at line 131 of file schemaTypeRegistration.h.
template<class Registrar >
void SdfRegisterTypes |
( |
Registrar * |
reg | ) |
|
|
inline |
Registers all possible C++ value types for built-in fields with reg
. This is the set of C++ types that are used by built-in fields and could be returned from an SdfAbstractData container. reg
can be any type that has a member function: template <class t>=""> void RegisterType();
This function will be invoked for each C++ value type, which will be given to the function as the template type T. Note that this function may be called with the same T multiple times.
Definition at line 151 of file schemaTypeRegistration.h.