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 omni::fabric::PathC path() const noexcept#

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

inline omni::fabric::TokenC name() const noexcept#

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

inline omni::fabric::FabricId fabricId() const noexcept#

The specific fabric ID associated to this handle Returns omni::fabric::kInvalidFabricId if this handle is meant to be used with the default one assotiated 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 constexpr 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.