Go to the source code of this file.
#define _SDF_REGISTER_TYPES |
( |
|
unused, |
|
|
|
elem |
|
) |
| reg->template RegisterType< _SDF_FIELDS_TYPE(elem) >(); |
#define _SDF_REGISTER_VALUE_TYPES |
( |
|
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.