24 #ifndef PXR_USD_USD_TYPED_H
25 #define PXR_USD_USD_TYPED_H
28 #include "pxr/usd/usd/api.h"
29 #include "pxr/usd/usd/schemaBase.h"
35 PXR_NAMESPACE_OPEN_SCOPE
96 Get(
const UsdStagePtr &stage,
const SdfPath &path);
104 const TfType &_GetTfType()
const override;
108 PXR_NAMESPACE_CLOSE_SCOPE
110 #endif // PXR_USD_USD_TYPED_H
static 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...
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.
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), and therefore the base class for all instantiable and "IsA" schemas.
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.
Represents abstract or base schema types that are interface-only and cannot be instantiated.
TfType represents a dynamic runtime type.
The base class for all schema types in Usd.
UsdTyped(const UsdSchemaBase &schemaObj)
Construct a UsdTyped on the prim wrapped by schemaObj .
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...