HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
instantiateType.h File Reference
+ Include dependency graph for instantiateType.h:

Go to the source code of this file.

Classes

struct  Tf_TypeFactoryType< T, AS_REF_PTR >
 
struct  Tf_TypeFactoryType< T, AS_REF_PTR >::FactoryType
 
struct  TfTest_RefPtrFactory< T >
 
struct  Tf_TypeFactoryType< T, false >
 
struct  Tf_TypeFactoryType< T, false >::FactoryType
 
struct  Tf_MakeTypeManufacturable< T, MANUFACTURABLE >
 
struct  Tf_MakeTypeManufacturable< T, false >
 

Macros

#define PXR_BASE_TF_INSTANTIATE_TYPE_H
 
#define _TF_REMOVE_PARENS_HELPER(...)   __VA_ARGS__
 
#define _TF_REMOVE_PARENS(parens)   _TF_REMOVE_PARENS_HELPER parens
 
#define TF_NO_PARENT()   (TfType::Bases<>)
 
#define TF_1_PARENT(p1)   (TfType::Bases<p1 >)
 
#define TF_2_PARENT(p1, p2)   (TfType::Bases<p1, p2 >)
 
#define TF_INSTANTIATE_TYPE(Type, flags, Bases)
 

Macro Definition Documentation

#define _TF_REMOVE_PARENS (   parens)    _TF_REMOVE_PARENS_HELPER parens

Definition at line 76 of file instantiateType.h.

#define _TF_REMOVE_PARENS_HELPER (   ...)    __VA_ARGS__

Definition at line 75 of file instantiateType.h.

#define PXR_BASE_TF_INSTANTIATE_TYPE_H

Definition at line 33 of file instantiateType.h.

#define TF_1_PARENT (   p1)    (TfType::Bases<p1 >)

Definition at line 79 of file instantiateType.h.

#define TF_2_PARENT (   p1,
  p2 
)    (TfType::Bases<p1, p2 >)

Definition at line 80 of file instantiateType.h.

#define TF_INSTANTIATE_TYPE (   Type,
  flags,
  Bases 
)
Value:
TfType t1 = TfType::Define<Type, _TF_REMOVE_PARENS(Bases) >(); \
Tf_MakeTypeManufacturable<Type, (flags&TfType::MANUFACTURABLE)!=0 >::Doit(t1); \
}
#define TF_REGISTRY_DEFINE_WITH_TYPE(KEY_TYPE, TAG)
Definition: type.h:64

Definition at line 81 of file instantiateType.h.

#define TF_NO_PARENT ( )    (TfType::Bases<>)

Definition at line 78 of file instantiateType.h.