HDK
|
#include <schema.h>
Friends | |
class | TfSingleton< SdfSchema > |
Additional Inherited Members | |
Public Member Functions inherited from SdfSchemaBase | |
SDF_API const FieldDefinition * | GetFieldDefinition (const TfToken &fieldKey) const |
const SpecDefinition * | GetSpecDefinition (SdfSpecType specType) const |
SDF_API bool | IsRegistered (const TfToken &fieldKey, VtValue *fallback=NULL) const |
SDF_API bool | HoldsChildren (const TfToken &fieldKey) const |
SDF_API const VtValue & | GetFallback (const TfToken &fieldKey) const |
SDF_API VtValue | CastToTypeOf (const TfToken &fieldKey, const VtValue &value) const |
Coerce value to the correct type for the specified field. More... | |
SDF_API bool | IsValidFieldForSpec (const TfToken &fieldKey, SdfSpecType specType) const |
Return whether the given field is valid for the given spec type. More... | |
SDF_API TfTokenVector | GetFields (SdfSpecType specType) const |
Returns all fields registered for the given spec type. More... | |
SDF_API TfTokenVector | GetMetadataFields (SdfSpecType specType) const |
Returns all metadata fields registered for the given spec type. More... | |
SDF_API TfToken | GetMetadataFieldDisplayGroup (SdfSpecType specType, TfToken const &metadataField) const |
SDF_API const TfTokenVector & | GetRequiredFields (SdfSpecType specType) const |
Returns all required fields registered for the given spec type. More... | |
bool | IsRequiredFieldName (const TfToken &fieldName) const |
SDF_API SdfAllowed | IsValidValue (const VtValue &value) const |
SDF_API std::vector < SdfValueTypeName > | GetAllTypes () const |
Returns all registered type names. More... | |
SDF_API SdfValueTypeName | FindType (const TfToken &typeName) const |
Return the type name object for the given type name token. More... | |
SDF_API SdfValueTypeName | FindType (const char *typeName) const |
SDF_API SdfValueTypeName | FindType (std::string const &typeName) const |
SDF_API SdfValueTypeName | FindType (const TfType &type, const TfToken &role=TfToken()) const |
Return the type name object for the given type and optional role. More... | |
SDF_API SdfValueTypeName | FindType (const VtValue &value, const TfToken &role=TfToken()) const |
Return the type name object for the value's type and optional role. More... | |
SDF_API SdfValueTypeName | FindOrCreateType (const TfToken &typeName) const |
Public Member Functions inherited from TfWeakBase | |
TfWeakBase () | |
TfWeakBase (const TfWeakBase &) | |
const TfWeakBase & | __GetTfWeakBase__ () const |
const TfWeakBase & | operator= (const TfWeakBase &) |
void | EnableNotification2 () const |
TF_API void const * | GetUniqueIdentifier () const |
Protected Types inherited from SdfSchemaBase | |
typedef std::function< VtValue(const std::string &, const JsValue &)> | _DefaultValueFactoryFn |
Protected Member Functions inherited from SdfSchemaBase | |
SdfSchemaBase () | |
SdfSchemaBase (EmptyTag) | |
virtual | ~SdfSchemaBase () |
template<class T > | |
FieldDefinition & | _RegisterField (const TfToken &fieldKey, const T &fallback, bool plugin=false) |
_SpecDefiner | _Define (SdfSpecType type) |
_SpecDefiner | _ExtendSpecDefinition (SdfSpecType specType) |
void | _RegisterStandardFields () |
Registers the standard fields. More... | |
void | _RegisterPluginFields () |
void | _RegisterStandardTypes () |
Registers standard attribute value types. More... | |
void | _RegisterLegacyTypes () |
Registers legacy attribute value types. More... | |
_ValueTypeRegistrar | _GetTypeRegistrar () const |
Returns a type registrar. More... | |
const std::vector< const SdfSchemaBase::FieldDefinition * > | _UpdateMetadataFromPlugins (const PlugPluginPtrVector &plugins, const std::string &metadataTag=std::string(), const _DefaultValueFactoryFn &defFactory=_DefaultValueFactoryFn()) |
Protected Member Functions inherited from TfWeakBase | |
~TfWeakBase () | |
TfRefPtr< Tf_Remnant > | _Register () const |
template<class T > | |
TfRefPtr< Tf_Remnant > | _Register (T *tempRmnt) const |
bool | _HasRemnant () const |
Class that provides information about the various scene description fields.
|
friend |