![]() |
|
Holds an implementation of EsfAttributeQueryInterface in a fixed-size buffer. More...
#include <attributeQuery.h>
Inheritance diagram for EsfAttributeQuery:Public Member Functions | |
| EsfFixedSizePolymorphicHolder ()=delete | |
| The default constructor is deleted because instances must always contain a derived object. | |
| template<class Derived , class... Args> | |
| EsfFixedSizePolymorphicHolder (std::in_place_type_t< Derived > derivedTypeHint, Args &&...args) | |
Construct a holder emplaced with a new Derived instance. | |
| EsfFixedSizePolymorphicHolder (const This &other) | |
| Construct a holder containing a derived type instance that is copy- constructed from another holder. | |
| EsfFixedSizePolymorphicHolder (This &&other) | |
| Construct a holder containing a derived type that is move-constructed from another holder. | |
Public Member Functions inherited from EsfFixedSizePolymorphicHolder< EsfAttributeQueryInterface, 160 > | |
| EsfFixedSizePolymorphicHolder ()=delete | |
| The default constructor is deleted because instances must always contain a derived object. | |
| EsfFixedSizePolymorphicHolder (std::in_place_type_t< Derived > derivedTypeHint, Args &&...args) | |
Construct a holder emplaced with a new Derived instance. | |
| EsfFixedSizePolymorphicHolder (const This &other) | |
| Construct a holder containing a derived type instance that is copy- constructed from another holder. | |
| EsfFixedSizePolymorphicHolder (This &&other) | |
| Construct a holder containing a derived type that is move-constructed from another holder. | |
| ~EsfFixedSizePolymorphicHolder () | |
| Destroys the derived instance held by this object. | |
| This & | operator= (const This &other) |
| Construct a new instance that is copy-constructed from the instance in another holder. | |
| This & | operator= (This &&other) |
| Construct a new instance that is move-constructed from the instance in another holder. | |
| EsfAttributeQueryInterface * | Get () |
| const EsfAttributeQueryInterface * | Get () const |
| EsfAttributeQueryInterface * | operator-> () |
| const EsfAttributeQueryInterface * | operator-> () const |
| EsfAttributeQueryInterface & | operator* () |
| const EsfAttributeQueryInterface & | operator* () const |
Additional Inherited Members | |
Public Types inherited from EsfFixedSizePolymorphicHolder< EsfAttributeQueryInterface, 160 > | |
| using | This = EsfFixedSizePolymorphicHolder< EsfAttributeQueryInterface, BufferSize > |
Holds an implementation of EsfAttributeQueryInterface in a fixed-size buffer.
The buffer is large enough to fit an implementation that wraps a UsdAttributeQuery. The size is specified as an integer literal to prevent introducing Usd as a dependency.
Definition at line 121 of file attributeQuery.h.
|
delete |
The default constructor is deleted because instances must always contain a derived object.
|
inline |
Construct a holder containing a derived type instance that is copy- constructed from another holder.
Definition at line 105 of file fixedSizePolymorphicHolder.h.
| EsfFixedSizePolymorphicHolder | ( | std::in_place_type_t< Derived > | derivedTypeHint, |
| Args &&... | args | ||
| ) |
Construct a holder emplaced with a new Derived instance.
The Derived type is deduced from the derivedTypeHint parameter, usually passed as std::in_place_type<Derived>. This is necessary because constructors cannot be invoked with explicit template arguments.
The Args are forwarded to the Derived instance's constructor.
Definition at line 99 of file fixedSizePolymorphicHolder.h.
|
inline |
Construct a holder containing a derived type that is move-constructed from another holder.
The moved-from holder continues to hold an object, but that object is moved-from.
Definition at line 115 of file fixedSizePolymorphicHolder.h.