HDK
|
#include <mapEditProxy.h>
Public Types | |
typedef T | Type |
typedef _ValuePolicy | ValuePolicy |
typedef SdfMapEditProxy< Type, ValuePolicy > | This |
typedef Type::key_type | key_type |
typedef Type::mapped_type | mapped_type |
typedef Type::value_type | value_type |
typedef _ValueProxy | reference |
typedef const value_type & | const_reference |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
typedef _Iterator< This *, inner_iterator, _PairProxy > | iterator |
typedef _Iterator< const This *, const_inner_iterator, const value_type & > | const_iterator |
typedef Tf_ProxyReferenceReverseIterator < iterator > | reverse_iterator |
typedef Tf_ProxyReferenceReverseIterator < const_iterator > | const_reverse_iterator |
Public Member Functions | |
SdfMapEditProxy (const SdfSpecHandle &owner, const TfToken &field) | |
SdfMapEditProxy () | |
This & | operator= (const This &other) |
template<class U , class UVP > | |
This & | operator= (const SdfMapEditProxy< U, UVP > &other) |
This & | operator= (const Type &data) |
operator Type () const | |
Returns a copy of the value. More... | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
size_type | size () const |
size_type | max_size () const |
bool | empty () const |
std::pair< iterator, bool > | insert (const value_type &value) |
iterator | insert (iterator pos, const value_type &value) |
template<class InputIterator > | |
void | insert (InputIterator first, InputIterator last) |
void | erase (iterator pos) |
size_type | erase (const key_type &key) |
void | erase (iterator first, iterator last) |
void | clear () |
iterator | find (const key_type &key) |
const_iterator | find (const key_type &key) const |
size_type | count (const key_type &key) const |
iterator | lower_bound (const key_type &key) |
const_iterator | lower_bound (const key_type &key) const |
iterator | upper_bound (const key_type &key) |
const_iterator | upper_bound (const key_type &key) const |
std::pair< iterator, iterator > | equal_range (const key_type &key) |
std::pair< const_iterator, const_iterator > | equal_range (const key_type &key) const |
reference | operator[] (const key_type &key) |
bool | operator== (const Type &other) const |
bool | operator!= (const Type &other) const |
bool | operator< (const Type &other) const |
bool | operator> (const Type &other) const |
bool | operator>= (const Type &other) const |
bool | operator<= (const Type &other) const |
template<class U , class UVP > | |
bool | operator== (const SdfMapEditProxy< U, UVP > &other) const |
template<class U , class UVP > | |
bool | operator!= (const SdfMapEditProxy< U, UVP > &other) const |
template<class U , class UVP > | |
bool | operator< (const SdfMapEditProxy< U, UVP > &other) const |
template<class U , class UVP > | |
bool | operator<= (const SdfMapEditProxy< U, UVP > &other) const |
template<class U , class UVP > | |
bool | operator> (const SdfMapEditProxy< U, UVP > &other) const |
template<class U , class UVP > | |
bool | operator>= (const SdfMapEditProxy< U, UVP > &other) const |
bool | IsExpired () const |
operator bool () const | |
Friends | |
template<class ProxyT > | |
class | SdfPyWrapMapEditProxy |
bool | operator== (const Type &lhs, const SdfMapEditProxy &rhs) |
bool | operator!= (const Type &lhs, const SdfMapEditProxy &rhs) |
bool | operator< (const Type &lhs, const SdfMapEditProxy &rhs) |
bool | operator> (const Type &lhs, const SdfMapEditProxy &rhs) |
bool | operator<= (const Type &lhs, const SdfMapEditProxy &rhs) |
bool | operator>= (const Type &lhs, const SdfMapEditProxy &rhs) |
A proxy for editing map-like values.
A SdfMapEditProxy
provides an interface for editing fields containing map-like values. The proxy allows consumers to interact with these values like a typical std::map while taking into account additional editing and validation policies.
The _ValuePolicy
is used to canonicalize keys and values before storage or comparison.
Definition at line 101 of file mapEditProxy.h.
typedef _Iterator<const This*, const_inner_iterator, const value_type&> SdfMapEditProxy< T, _ValuePolicy >::const_iterator |
Definition at line 348 of file mapEditProxy.h.
typedef const value_type& SdfMapEditProxy< T, _ValuePolicy >::const_reference |
Definition at line 343 of file mapEditProxy.h.
typedef Tf_ProxyReferenceReverseIterator<const_iterator> SdfMapEditProxy< T, _ValuePolicy >::const_reverse_iterator |
Definition at line 350 of file mapEditProxy.h.
typedef ptrdiff_t SdfMapEditProxy< T, _ValuePolicy >::difference_type |
Definition at line 345 of file mapEditProxy.h.
typedef _Iterator<This*, inner_iterator, _PairProxy> SdfMapEditProxy< T, _ValuePolicy >::iterator |
Definition at line 346 of file mapEditProxy.h.
typedef Type::key_type SdfMapEditProxy< T, _ValuePolicy >::key_type |
Definition at line 106 of file mapEditProxy.h.
typedef Type::mapped_type SdfMapEditProxy< T, _ValuePolicy >::mapped_type |
Definition at line 107 of file mapEditProxy.h.
typedef _ValueProxy SdfMapEditProxy< T, _ValuePolicy >::reference |
Definition at line 342 of file mapEditProxy.h.
typedef Tf_ProxyReferenceReverseIterator<iterator> SdfMapEditProxy< T, _ValuePolicy >::reverse_iterator |
Definition at line 349 of file mapEditProxy.h.
typedef size_t SdfMapEditProxy< T, _ValuePolicy >::size_type |
Definition at line 344 of file mapEditProxy.h.
typedef SdfMapEditProxy<Type, ValuePolicy> SdfMapEditProxy< T, _ValuePolicy >::This |
Definition at line 105 of file mapEditProxy.h.
typedef T SdfMapEditProxy< T, _ValuePolicy >::Type |
Definition at line 103 of file mapEditProxy.h.
typedef Type::value_type SdfMapEditProxy< T, _ValuePolicy >::value_type |
Definition at line 108 of file mapEditProxy.h.
typedef _ValuePolicy SdfMapEditProxy< T, _ValuePolicy >::ValuePolicy |
Definition at line 104 of file mapEditProxy.h.
|
inlineexplicit |
Definition at line 352 of file mapEditProxy.h.
|
inline |
Definition at line 358 of file mapEditProxy.h.
|
inline |
Definition at line 392 of file mapEditProxy.h.
|
inline |
Definition at line 402 of file mapEditProxy.h.
|
inline |
Definition at line 505 of file mapEditProxy.h.
|
inline |
Definition at line 529 of file mapEditProxy.h.
|
inline |
Definition at line 442 of file mapEditProxy.h.
|
inline |
Definition at line 397 of file mapEditProxy.h.
|
inline |
Definition at line 408 of file mapEditProxy.h.
|
inline |
Definition at line 578 of file mapEditProxy.h.
|
inline |
Definition at line 593 of file mapEditProxy.h.
|
inline |
Definition at line 473 of file mapEditProxy.h.
|
inline |
Definition at line 480 of file mapEditProxy.h.
|
inline |
Definition at line 491 of file mapEditProxy.h.
|
inline |
Definition at line 510 of file mapEditProxy.h.
|
inline |
Definition at line 519 of file mapEditProxy.h.
|
inline |
Definition at line 447 of file mapEditProxy.h.
|
inline |
Definition at line 452 of file mapEditProxy.h.
|
inline |
Definition at line 458 of file mapEditProxy.h.
|
inline |
Returns true if the value is expired. Note this a default-constructed MapEditProxy is considered to be invalid but not expired.
Definition at line 725 of file mapEditProxy.h.
|
inline |
Definition at line 538 of file mapEditProxy.h.
|
inline |
Definition at line 548 of file mapEditProxy.h.
|
inline |
Definition at line 437 of file mapEditProxy.h.
|
inlineexplicit |
Explicit bool conversion operator. Returns true
if the value is valid, false
otherwise.
Definition at line 732 of file mapEditProxy.h.
|
inline |
Returns a copy of the value.
Definition at line 387 of file mapEditProxy.h.
|
inline |
Definition at line 622 of file mapEditProxy.h.
|
inline |
Definition at line 692 of file mapEditProxy.h.
|
inline |
Invalid SdfMapEditProxy objects will compare less to an object of their map type
Definition at line 639 of file mapEditProxy.h.
|
inline |
Definition at line 698 of file mapEditProxy.h.
|
inline |
Definition at line 654 of file mapEditProxy.h.
|
inline |
Definition at line 705 of file mapEditProxy.h.
|
inline |
Definition at line 363 of file mapEditProxy.h.
|
inline |
Definition at line 372 of file mapEditProxy.h.
|
inline |
Definition at line 380 of file mapEditProxy.h.
|
inline |
Definition at line 617 of file mapEditProxy.h.
|
inline |
Comparison operator with another proxy Two invalid proxy objects will compare equal.
Definition at line 682 of file mapEditProxy.h.
|
inline |
Definition at line 644 of file mapEditProxy.h.
|
inline |
Definition at line 712 of file mapEditProxy.h.
|
inline |
Definition at line 649 of file mapEditProxy.h.
|
inline |
Definition at line 718 of file mapEditProxy.h.
|
inline |
Definition at line 608 of file mapEditProxy.h.
|
inline |
Definition at line 415 of file mapEditProxy.h.
|
inline |
Definition at line 423 of file mapEditProxy.h.
|
inline |
Definition at line 419 of file mapEditProxy.h.
|
inline |
Definition at line 427 of file mapEditProxy.h.
|
inline |
Definition at line 432 of file mapEditProxy.h.
|
inline |
Definition at line 558 of file mapEditProxy.h.
|
inline |
Definition at line 568 of file mapEditProxy.h.
|
friend |
Definition at line 632 of file mapEditProxy.h.
|
friend |
Definition at line 659 of file mapEditProxy.h.
|
friend |
Definition at line 669 of file mapEditProxy.h.
|
friend |
Definition at line 627 of file mapEditProxy.h.
|
friend |
Definition at line 664 of file mapEditProxy.h.
|
friend |
Definition at line 674 of file mapEditProxy.h.
|
friend |
Definition at line 1010 of file mapEditProxy.h.