35 #ifndef IECOREHOUDINI_TYPETRAITS_H
36 #define IECOREHOUDINI_TYPETRAITS_H
38 #include "IECore/TypeTraits.h"
39 #include "IECore/SimpleTypedData.h"
40 #include "IECore/VectorTypedData.h"
51 template<>
struct IsDetailAttribFloatTypedData<
IECore::V2fData > :
public boost::true_type {};
52 template<>
struct IsDetailAttribFloatTypedData<
IECore::V3fData > :
public boost::true_type {};
53 template<>
struct IsDetailAttribFloatTypedData<
IECore::Color3fData > :
public boost::true_type {};
54 template<>
struct IsDetailAttribFloatTypedData<
IECore::M33fData > :
public boost::true_type {};
55 template<>
struct IsDetailAttribFloatTypedData<
IECore::M44fData > :
public boost::true_type {};
60 template<>
struct IsDetailAttribIntTypedData<
IECore::V2iData > :
public boost::true_type {};
61 template<>
struct IsDetailAttribIntTypedData<
IECore::V3iData > :
public boost::true_type {};
66 template<>
struct IsVectorAttribFloatTypedData<
IECore::V2fVectorData > :
public boost::true_type {};
67 template<>
struct IsVectorAttribFloatTypedData<
IECore::V3fVectorData > :
public boost::true_type {};
68 template<>
struct IsVectorAttribFloatTypedData<
IECore::Color3fVectorData > :
public boost::true_type {};
69 template<>
struct IsVectorAttribFloatTypedData<
IECore::M33fVectorData > :
public boost::true_type {};
70 template<>
struct IsVectorAttribFloatTypedData<
IECore::M44fVectorData > :
public boost::true_type {};
75 template<>
struct IsVectorAttribIntTypedData<
IECore::V2iVectorData > :
public boost::true_type {};
76 template<>
struct IsVectorAttribIntTypedData<
IECore::V3iVectorData > :
public boost::true_type {};
79 template<
typename T>
struct IsDetailAttribTypedData : boost::mpl::or_< IsDetailAttribFloatTypedData<T>, IsDetailAttribIntTypedData<T> > {};
82 template<
typename T>
struct IsVectorAttribTypedData : boost::mpl::or_< IsVectorAttribFloatTypedData<T>, IsVectorAttribIntTypedData<T> > {};
87 template<>
struct IsAttribColorTypedData<
IECore::Color3fVectorData > :
public boost::true_type {};
93 #endif // IECOREHOUDINI_TYPETRAITS_H
The IECoreHoudini namespace holds all the functionality of libIECoreHoudini.
Definition: CoreHoudini.h:51
IsDetailAttribTypedData.
Definition: TypeTraits.h:79
IsAttribColorTypedData.
Definition: TypeTraits.h:85
IsDetailAttribIntTypedData.
Definition: TypeTraits.h:58
IsVectorAttribTypedData.
Definition: TypeTraits.h:82
IsVectorAttribIntTypedData.
Definition: TypeTraits.h:73
IsDetailAttribFloatTypedData.
Definition: TypeTraits.h:49
IsVectorAttribFloatTypedData.
Definition: TypeTraits.h:64
This namespace contains all components of the core library.
Definition: AddSmoothSkinningInfluencesOp.h:43