HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
traits.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/vt/api.h"
#include "pxr/base/tf/preprocessorUtilsLite.h"
#include <type_traits>
+ Include dependency graph for traits.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  VtIsArray< T >
 Array concept. By default, types are not arrays. More...
 
struct  VtValueTypeHasCheapCopy< T >
 
struct  VtTypedValueProxyBase
 
struct  VtIsTypedValueProxy< T >
 
struct  VtGetProxiedType< T >
 
struct  VtErasedValueProxyBase
 
struct  VtIsErasedValueProxy< T >
 
struct  VtIsValueProxy< T >
 

Macros

#define VT_TYPE_IS_CHEAP_TO_COPY(T)
 
#define VT_TYPE_IS_TYPED_VALUE_PROXY(T)
 
#define VT_TYPE_IS_ERASED_VALUE_PROXY(T)
 

Functions

template<class T , typename std::enable_if< !VtIsTypedValueProxy< T >::value, int >::type = 0>
T const & VtGetProxiedObject (T const &nonProxy)
 

Macro Definition Documentation

#define VT_TYPE_IS_CHEAP_TO_COPY (   T)
Value:
: std::true_type {}
#define TF_PP_EAT_PARENS(...)

Definition at line 50 of file traits.h.

#define VT_TYPE_IS_ERASED_VALUE_PROXY (   T)
Value:
template <> struct VtIsErasedValueProxy<TF_PP_EAT_PARENS(T)> \
: std::true_type {}
#define TF_PP_EAT_PARENS(...)

Definition at line 136 of file traits.h.

#define VT_TYPE_IS_TYPED_VALUE_PROXY (   T)
Value:
template <> struct VtIsTypedValueProxy<TF_PP_EAT_PARENS(T)> \
: std::true_type {}
#define TF_PP_EAT_PARENS(...)

Definition at line 109 of file traits.h.

Function Documentation

template<class T , typename std::enable_if< !VtIsTypedValueProxy< T >::value, int >::type = 0>
T const& VtGetProxiedObject ( T const &  nonProxy)

Definition at line 118 of file traits.h.