24 #ifndef PXR_USD_SDF_SPEC_TYPE_H
25 #define PXR_USD_SDF_SPEC_TYPE_H
60 template <
class SchemaType,
class SpecType>
63 typeid(SpecType), specTypeEnum,
typeid(SchemaType));
67 template <
class SchemaType,
class SpecType>
75 static void _RegisterSpecType(
76 const std::type_info& specCPPType,
78 const std::type_info& schemaType);
93 static bool CanCast(
const SdfSpec& spec,
const std::type_info& to);
102 #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)