24 #ifndef USD_GENERATED_TYPED_H 25 #define USD_GENERATED_TYPED_H 30 #include "pxr/usd/usd/api.h" 31 #include "pxr/usd/usd/schemaBase.h" 35 #include "pxr/base/vt/value.h" 42 #include "pxr/base/tf/type.h" 44 PXR_NAMESPACE_OPEN_SCOPE
108 Get(
const UsdStagePtr &stage,
const SdfPath &path);
122 static const TfType &_GetStaticTfType();
124 static bool _IsTypedSchema();
128 const TfType &_GetTfType()
const override;
147 PXR_NAMESPACE_CLOSE_SCOPE
virtual USD_API ~UsdTyped()
Destructor.
static USD_API UsdTyped Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdTyped holding the prim adhering to this schema at path on stage.
static USD_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
Return a vector of names of all pre-declared attributes for this schema class and all its ancestor cl...
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
The base class for all typed schemas (those that can impart a typeName to a UsdPrim),...
std::vector< TfToken > TfTokenVector
Convenience types.
A path value used to locate objects in layers or scenegraphs.
UsdTyped(const UsdPrim &prim=UsdPrim())
Construct a UsdTyped on UsdPrim prim .
USD_API bool _IsCompatible() const override
Subclasses may override _IsCompatible to do specific compatibility checking with the given prim,...
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
Contains an asset path and an optional resolved path.
Represents abstract or base schema types that are interface-only and cannot be instantiated.
TfType represents a dynamic runtime type.
Singleton registry that provides access to schema type information and the prim definitions for regis...
USD_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
The base class for all schema types in Usd.
UsdTyped(const UsdSchemaBase &schemaObj)
Construct a UsdTyped on the prim held by schemaObj .
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...