SdfHandle is a smart ptr that calls IsDormant() on the pointed-to object as an extra expiration check so that dormant objects appear to be expired.
More...
#include <declareHandles.h>
Inherits totally_ordered< SdfHandle< T > >.
template<class T>
class SdfHandle< T >
SdfHandle is a smart ptr that calls IsDormant() on the pointed-to object as an extra expiration check so that dormant objects appear to be expired.
Definition at line 63 of file declareHandles.h.
◆ NonConstSpecType
typedef std::remove_const<SpecType>::type NonConstSpecType |
◆ NonConstThis
◆ SpecType
◆ This
◆ SdfHandle() [1/5]
◆ SdfHandle() [2/5]
◆ SdfHandle() [3/5]
◆ SdfHandle() [4/5]
◆ SdfHandle() [5/5]
◆ GetSpec()
const SpecType & GetSpec |
( |
| ) |
const |
|
inline |
◆ operator UnspecifiedBoolType()
operator UnspecifiedBoolType |
( |
| ) |
const |
|
inline |
Returns true
in a boolean context if the object is valid, false
otherwise.
Definition at line 120 of file declareHandles.h.
◆ operator!()
Returns false
in a boolean context if the object is valid, true
otherwise.
Definition at line 126 of file declareHandles.h.
◆ operator->()
SpecType * operator-> |
( |
| ) |
const |
|
inline |
Dereference.
Raises a fatal error if the object is invalid or dormant.
Definition at line 94 of file declareHandles.h.
◆ operator<()
bool operator< |
( |
const SdfHandle< U > & |
other | ) |
const |
|
inline |
Arranges handles in an arbitrary strict weak ordering.
Note that this ordering is stable across path changes.
Definition at line 141 of file declareHandles.h.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
bool operator== |
( |
const SdfHandle< U > & |
other | ) |
const |
|
inline |
◆ Reset()
◆ get_pointer
SpecType * get_pointer |
( |
const SdfHandle< T > & |
x | ) |
|
|
friend |
◆ hash_value
size_t hash_value |
( |
const This & |
x | ) |
|
|
friend |
◆ SdfHandle
The documentation for this class was generated from the following file: