ConstAttributeDataHandle#

Fully qualified name: omni::graph::core::ConstAttributeDataHandle

class ConstAttributeDataHandle : public omni::graph::core::HandleBase<AttrKey, ConstAttributeDataHandle>#

Object representing a handle to an AttributeData type.

Public Functions

inline TargetPath path() const noexcept#

Path to the prim or bundle of the attribute, e.g. in “/world/cube.size”, this returns “/world/cube”.

inline NameToken name() const noexcept#

Name of the attribute, e.g. in “/world/cube.size”, this would be “size”.

inline BackendId backendId() const noexcept#

The specific backend ID associated to this handle Returns kInvalidBackendId if this handle is meant to be used with the default backend associated to the graph.

inline explicit operator AttrKey() const#

Cast to the underlying data type of the handle.

inline bool isValid() const#

Returns true if the handle is currently valid.

inline bool operator==(HandleBase rhs) const#

Equality operator - only identical handles are equal.

inline bool operator!=(HandleBase rhs) const#

Inequality operator - only identical handles are equal.

Public Static Functions

static inline AttrKey invalidValue()#

Returns an invalid AttributeData handle value.

static inline constexpr ConstAttributeDataHandle invalidHandle()#

Constant representing a unique invalid handle for this instantiation.

Protected Attributes

AttrKey handle#

Instantiation of the underlying type of the handle.