HDK
|
#include <declareHandles.h>
Public Types | |
typedef SdfHandle< T > | This |
typedef T | SpecType |
typedef std::remove_const < SpecType >::type | NonConstSpecType |
typedef SdfHandle < NonConstSpecType > | NonConstThis |
typedef SpecType This::* | UnspecifiedBoolType |
Public Member Functions | |
SdfHandle () | |
SdfHandle (TfNullPtrType) | |
SdfHandle (const Sdf_IdentityRefPtr &id) | |
SdfHandle (const SpecType &spec) | |
template<class U > | |
SdfHandle (const SdfHandle< U > &x) | |
This & | operator= (const This &x) |
template<class U > | |
This & | operator= (const SdfHandle< U > &x) |
SpecType * | operator-> () const |
const SpecType & | GetSpec () const |
void | Reset () |
operator UnspecifiedBoolType () const | |
bool | operator! () const |
template<class U > | |
bool | operator== (const SdfHandle< U > &other) const |
Compares handles for equality. More... | |
template<class U > | |
bool | operator< (const SdfHandle< U > &other) const |
Friends | |
template<class U > | |
class | SdfHandle |
bool | operator!= (const SdfHandle &lhs, const SdfHandle &rhs) |
bool | operator> (const SdfHandle &lhs, const SdfHandle &rhs) |
bool | operator<= (const SdfHandle &lhs, const SdfHandle &rhs) |
bool | operator>= (const SdfHandle &lhs, const SdfHandle &rhs) |
size_t | hash_value (const This &x) |
Hash. More... | |
SpecType * | get_pointer (const SdfHandle &x) |
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 45 of file declareHandles.h.
typedef std::remove_const<SpecType>::type SdfHandle< T >::NonConstSpecType |
Definition at line 50 of file declareHandles.h.
typedef SdfHandle<NonConstSpecType> SdfHandle< T >::NonConstThis |
Definition at line 51 of file declareHandles.h.
Definition at line 48 of file declareHandles.h.
Definition at line 47 of file declareHandles.h.
typedef SpecType This::* SdfHandle< T >::UnspecifiedBoolType |
Definition at line 97 of file declareHandles.h.
Definition at line 53 of file declareHandles.h.
|
inline |
Definition at line 54 of file declareHandles.h.
|
inlineexplicit |
Definition at line 55 of file declareHandles.h.
Definition at line 56 of file declareHandles.h.
Definition at line 59 of file declareHandles.h.
Definition at line 86 of file declareHandles.h.
|
inline |
Returns true
in a boolean context if the object is valid, false
otherwise.
Definition at line 102 of file declareHandles.h.
Returns false
in a boolean context if the object is valid, true
otherwise.
Definition at line 108 of file declareHandles.h.
Dereference. Raises a fatal error if the object is invalid or dormant.
Definition at line 76 of file declareHandles.h.
|
inline |
Arranges handles in an arbitrary strict weak ordering. Note that this ordering is stable across path changes.
Definition at line 129 of file declareHandles.h.
Definition at line 61 of file declareHandles.h.
|
inline |
Definition at line 68 of file declareHandles.h.
|
inline |
Compares handles for equality.
Definition at line 115 of file declareHandles.h.
Definition at line 91 of file declareHandles.h.
Definition at line 159 of file declareHandles.h.
|
friend |
Hash.
Definition at line 153 of file declareHandles.h.
Definition at line 121 of file declareHandles.h.
Definition at line 141 of file declareHandles.h.
Definition at line 135 of file declareHandles.h.
Definition at line 147 of file declareHandles.h.
Definition at line 166 of file declareHandles.h.