24 #ifndef PXR_USD_USD_SCHEMA_BASE_H
25 #define PXR_USD_USD_SCHEMA_BASE_H
123 if (!_proxyPrimPath.
IsEmpty()) {
124 return _proxyPrimPath;
163 explicit operator bool()
const {
185 bool writeSparsely)
const;
198 virtual const TfType &_GetTfType()
const;
208 #endif //PXR_USD_USD_SCHEMA_BASE_H
static const UsdSchemaType schemaType
virtual USD_API bool _IsCompatible() const
static const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
bool IsEmpty() const noexcept
Returns true if this is the empty path (SdfPath::EmptyPath()).
Represents a concrete typed schema.
Y * get_pointer(TfWeakPtrFacade< X, Y > const &p)
virtual UsdSchemaType _GetSchemaType() const
static SDF_API const SdfPath & EmptyPath()
The empty path value, equivalent to SdfPath().
bool IsMultipleApplyAPISchema() const
Multiple Apply API Schema.
const TfType & _GetType() const
GLuint const GLuint * names
bool IsAppliedAPISchema() const
std::vector< TfToken > TfTokenVector
Convenience types.
Represents a non-concrete typed schema.
virtual USD_API ~UsdSchemaBase()
Destructor.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
USD_API UsdAttribute _CreateAttr(TfToken const &attrName, SdfValueTypeName const &typeName, bool custom, SdfVariability variability, VtValue const &defaultValue, bool writeSparsely) const
#define PXR_NAMESPACE_CLOSE_SCOPE
SdfPath GetPath() const
Shorthand for GetPrim()->GetPath().
UsdSchemaType GetSchemaType() const
USD_API const UsdPrimDefinition * GetSchemaClassPrimDefinition() const
USD_API UsdSchemaBase(const UsdPrim &prim=UsdPrim())
Construct and store prim as the held prim.
UsdPrim GetPrim() const
Return this schema object's held prim.
bool IsAPISchema() const
Returns whether this is an API schema or not.