Cortex
10.0.0-a4
|
Base class for data conversions. More...
#include <DataConversion.h>
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 | |
T | operator() (F f) const |
InverseType | inverse () const |
Base class for data conversions.
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.
|
inline |
Function is not invertible