Cortex  10.0.0-a4
Public Types | Public Member Functions | List of all members
IECore::DataConversion< F, T > Struct Template Reference

Base class for data conversions. More...

#include <DataConversion.h>

+ Inheritance diagram for IECore::DataConversion< F, T >:

Public Types

typedef F FromType
 
typedef T ToType
 
typedef void InverseType
 The type of the converter that can perform the inverse transformation.
 
typedef boost::false_type IsIdentity
 

Public Member Functions

operator() (F f) const
 
InverseType inverse () const
 

Detailed Description

template<typename F, typename T>
struct IECore::DataConversion< F, T >

Base class for data conversions.

Member Typedef Documentation

template<typename F, typename T>
typedef boost::false_type IECore::DataConversion< F, T >::IsIdentity

Some converions will return the exact same value (and the exact same type) as the input - they can be marked as "identity" conversions. This means that DataConvert, for example, can optimise specific cases.

Member Function Documentation

template<typename F, typename T>
InverseType IECore::DataConversion< F, T >::inverse ( ) const
inline

Function is not invertible


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