HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SdfIdentityMapEditProxyValuePolicy< T > Class Template Reference

#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 TypeCanonicalizeType (const SdfSpecHandle &, const Type &x)
 
static const key_typeCanonicalizeKey (const SdfSpecHandle &, const key_type &x)
 
static const mapped_typeCanonicalizeValue (const SdfSpecHandle &, const mapped_type &x)
 
static const value_typeCanonicalizePair (const SdfSpecHandle &, const value_type &x)
 

Detailed Description

template<class T>
class SdfIdentityMapEditProxyValuePolicy< T >

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.

Member Typedef Documentation

template<class T >
typedef Type::key_type SdfIdentityMapEditProxyValuePolicy< T >::key_type

Definition at line 67 of file mapEditProxy.h.

template<class T >
typedef Type::mapped_type SdfIdentityMapEditProxyValuePolicy< T >::mapped_type

Definition at line 68 of file mapEditProxy.h.

template<class T >
typedef T SdfIdentityMapEditProxyValuePolicy< T >::Type

Definition at line 66 of file mapEditProxy.h.

template<class T >
typedef Type::value_type SdfIdentityMapEditProxyValuePolicy< T >::value_type

Definition at line 69 of file mapEditProxy.h.

Member Function Documentation

template<class T >
static const key_type& SdfIdentityMapEditProxyValuePolicy< T >::CanonicalizeKey ( const SdfSpecHandle &  ,
const key_type x 
)
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.

template<class T >
static const value_type& SdfIdentityMapEditProxyValuePolicy< T >::CanonicalizePair ( const SdfSpecHandle &  ,
const value_type x 
)
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.

template<class T >
static const Type& SdfIdentityMapEditProxyValuePolicy< T >::CanonicalizeType ( const SdfSpecHandle &  ,
const Type x 
)
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.

template<class T >
static const mapped_type& SdfIdentityMapEditProxyValuePolicy< T >::CanonicalizeValue ( const SdfSpecHandle &  ,
const mapped_type x 
)
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.


The documentation for this class was generated from the following file: