7 #ifndef PXR_USD_SDF_SPEC_TYPE_H
8 #define PXR_USD_SDF_SPEC_TYPE_H
43 template <
class SchemaType,
class SpecType>
46 typeid(SpecType), specTypeEnum,
typeid(SchemaType));
50 template <
class SchemaType,
class SpecType>
58 static void _RegisterSpecType(
59 const std::type_info& specCPPType,
61 const std::type_info& schemaType);
76 static bool CanCast(
const SdfSpec& spec,
const std::type_info& to);
85 #endif // PXR_USD_SDF_SPEC_TYPE_H
static void RegisterSpecType(SdfSpecType specTypeEnum)
Registers the C++ type T as a concrete spec class.
static void RegisterAbstractSpecType()
Registers the C++ type T as an abstract spec class.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
static bool CanCast(const SdfSpec &spec, const std::type_info &to)
static TfType Cast(const SdfSpec &spec, const std::type_info &to)