Cortex  10.0.0-a4
Public Member Functions | Static Public Member Functions | List of all members
IECoreMaya::NumericTraits< T > Struct Template Reference

#include <NumericTraits.h>

Public Member Functions

template<>
MFnNumericData::Type dataType ()
 
template<>
MFnNumericData::Type dataType ()
 
template<>
MFnNumericData::Type dataType ()
 
template<>
MFnNumericData::Type dataType ()
 
template<>
MFnNumericData::Type dataType ()
 
template<>
MFnNumericData::Type baseDataType ()
 
template<>
MFnNumericData::Type dataType ()
 
template<>
MFnNumericData::Type baseDataType ()
 
template<>
MFnNumericData::Type dataType ()
 
template<>
MFnNumericData::Type baseDataType ()
 
template<>
MFnNumericData::Type dataType ()
 
template<>
MFnNumericData::Type baseDataType ()
 
template<>
MFnNumericData::Type dataType ()
 
template<>
MFnNumericData::Type baseDataType ()
 
template<>
MFnNumericData::Type dataType ()
 
template<>
MFnNumericData::Type baseDataType ()
 
template<>
MFnNumericData::Type dataType ()
 
template<>
MFnNumericData::Type baseDataType ()
 
template<>
bool isColor ()
 

Static Public Member Functions

static MFnNumericData::Type dataType ()
 Returns the maya data type suitable for representing this type of number.
 
static MFnNumericData::Type baseDataType ()
 
static bool isColor ()
 

Detailed Description

template<typename T>
struct IECoreMaya::NumericTraits< T >

This traits class is useful for determining the appropriate maya types to use for the basic numeric types in different contexts.

Member Function Documentation

template<typename T >
static MFnNumericData::Type IECoreMaya::NumericTraits< T >::baseDataType ( )
inlinestatic

For compound numeric types, returns the maya data type suitable for representing a single element of the compound.

template<typename T >
static bool IECoreMaya::NumericTraits< T >::isColor ( )
inlinestatic

Returns whether or not the maya useAsColor() flag should be set on attributes representing this kind of data.


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