|
A value policy for SdfMapEditProxy
that does nothing.
More...
#include <mapEditProxy.h>
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. | |
static const key_type & | CanonicalizeKey (const SdfSpecHandle &, const key_type &x) |
Canonicalize a key. | |
static const mapped_type & | CanonicalizeValue (const SdfSpecHandle &, const mapped_type &x) |
Canonicalize a value. | |
static const value_type & | CanonicalizePair (const SdfSpecHandle &, const value_type &x) |
Canonicalize a key/value pair. | |
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 62 of file mapEditProxy.h.
typedef Type::key_type key_type |
Definition at line 65 of file mapEditProxy.h.
typedef Type::mapped_type mapped_type |
Definition at line 66 of file mapEditProxy.h.
typedef T Type |
Definition at line 64 of file mapEditProxy.h.
typedef Type::value_type value_type |
Definition at line 67 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 79 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 96 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 72 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 87 of file mapEditProxy.h.