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

Go to the source code of this file.

Classes

struct  Vt_DefaultValueFactory< T >
 
struct  Vt_DefaultValueHolder
 
struct  Vt_ValueStoredType< T >
 
struct  Vt_ValueStoredType< char[N]>
 
struct  Vt_DefaultValueFactory< T >
 

Macros

#define VT_VALUE_SET_STORED_TYPE(SRC, DST)   template <> struct Vt_ValueStoredType<SRC> { typedef DST Type; }
 
#define _VT_DECLARE_ZERO_VALUE_FACTORY(unused, elem)
 

Typedefs

template<class T >
using Vt_ValueGetStored = Vt_ValueStoredType< std::decay_t< T >>
 

Functions

void const * Vt_FindOrCreateDefaultValue (std::type_info const &type, Vt_DefaultValueHolder(*factory)())
 
 VT_VALUE_SET_STORED_TYPE (char const *, std::string)
 
 VT_VALUE_SET_STORED_TYPE (char *, std::string)
 

Macro Definition Documentation

#define _VT_DECLARE_ZERO_VALUE_FACTORY (   unused,
  elem 
)
#define VT_VALUE_SET_STORED_TYPE (   SRC,
  DST 
)    template <> struct Vt_ValueStoredType<SRC> { typedef DST Type; }

Definition at line 72 of file valueCommon.h.

Typedef Documentation

template<class T >
using Vt_ValueGetStored = Vt_ValueStoredType<std::decay_t<T>>

Definition at line 92 of file valueCommon.h.

Function Documentation

void const* Vt_FindOrCreateDefaultValue ( std::type_info const &  type,
Vt_DefaultValueHolder(*)()  factory 
)
VT_VALUE_SET_STORED_TYPE ( char const *  ,
std::string   
)
VT_VALUE_SET_STORED_TYPE ( char *  ,
std::string   
)