Cortex  10.0.0-a4
Public Member Functions | List of all members
IECoreMaya::FromMayaObjectConverter::FromMayaObjectConverterDescription< T > Class Template Reference

#include <FromMayaObjectConverter.h>

Public Member Functions

 FromMayaObjectConverterDescription (MFn::Type fromType, IECore::TypeId resultType, bool defaultConversion)
 

Detailed Description

template<class T>
class IECoreMaya::FromMayaObjectConverter::FromMayaObjectConverterDescription< T >

Creating a static instance of one of these (templated on your Converter type) within your class will register your converter with the factory mechanism.

Constructor & Destructor Documentation

template<class T>
IECoreMaya::FromMayaObjectConverter::FromMayaObjectConverterDescription< T >::FromMayaObjectConverterDescription ( MFn::Type  fromType,
IECore::TypeId  resultType,
bool  defaultConversion 
)
Parameters
fromTypeThe maya type which can be converted.
resultTypeThe cortex type which will result from the conversion.
defaultConversionShould be true if this conversion is the "best" for a given fromType. If this is true then this is the converter that will be used when create() is called without specifying a resultType.

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