![]() |
|
A value policy for SdfMapEditProxy
that does nothing.
More...
Public Types | |
typedef T | Type |
typedef Type::key_type | key_type |
typedef Type::mapped_type | mapped_type |
typedef Type::value_type | value_type |
Static Public Member Functions | |
static const Type & | CanonicalizeType (const SdfSpecHandle &, const Type &x) |
Canonicalize an entire Type object. More... | |
static const key_type & | CanonicalizeKey (const SdfSpecHandle &, const key_type &x) |
Canonicalize a key. More... | |
static const mapped_type & | CanonicalizeValue (const SdfSpecHandle &, const mapped_type &x) |
Canonicalize a value. More... | |
static const value_type & | CanonicalizePair (const SdfSpecHandle &, const value_type &x) |
Canonicalize a key/value pair. More... | |
A value policy for SdfMapEditProxy
that does nothing.
A SdfMapEditProxy
value policy converts incoming keys and values into a canonical form used for storage. This is useful if you have a key where multiple values are equivalent for the purposes of the map but don't compare equal and you can store any one of the equivalent values. Note that the policy is only used on inputs to the map proxy; it's never used when returning keys or values from the proxy.
Definition at line 64 of file mapEditProxy.h.
|
inlinestatic |
Canonicalize a key.
key_type
must be convertible to the type of x
. The return value must be convertible to a key_type
.
Definition at line 81 of file mapEditProxy.h.
|
inlinestatic |
Canonicalize a key/value pair.
value_type
must be convertible to the type of x
. The return value must be convertible to a value_type
.
Definition at line 98 of file mapEditProxy.h.
|
inlinestatic |
Canonicalize an entire Type
object.
Type
must be convertible to the type of x
. The return value must be convertible to a Type
.
Definition at line 74 of file mapEditProxy.h.
|
inlinestatic |
Canonicalize a value.
mapped_type
must be convertible to the type of x
. The return value must be convertible to a mapped_type
.
Definition at line 89 of file mapEditProxy.h.