20 #define thisTTClass NoneUnit
21 #define thisTTClassName "unit.none"
22 #define thisTTClassTags "dataspace.unit, none"
28 NoneUnit::~NoneUnit(){;}
43 #undef thisTTClassName
44 #undef thisTTClassTags
48 #define thisTTClass NoneDataspace
49 #define thisTTClassName "dataspace.none"
50 #define thisTTClassTags "foundationDataspaceLib, dataspace, none"
57 registerUnit(
TT(
"unit.none"),
TT(
"none"));
60 neutralUnit =
TT(
"none");
63 err = setInputUnit(neutralUnit);
65 throw TTException(
"Could not create neutralUnit for NoneDataspace");
67 err = setOutputUnit(neutralUnit);
69 throw TTException(
"Could not create neutralUnit for NoneDataspace");
73 NoneDataspace::~NoneDataspace()
79 #undef thisTTClassName
80 #undef thisTTClassTags
void convertToNeutral(const TTValue &input, TTValue &output)
Convertion from none to neutral unit leaves the value untouched.
#define TT
This macro is defined as a shortcut for doing a lookup in the symbol table.
A TTBlue exception is thown with this object.
Specification for the base class of each DataspaceUnit.
The NoneDataspace is a dataspace unit for situations where no dataspace conversions are desired or re...
void convertFromNeutral(const TTValue &input, TTValue &output)
Convertion from neutral unit to the "none" unit leaves the value untouched.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
TT_OBJECT_CONSTRUCTOR
Constructor macro.
[doxygenAppendixC_copyExample]