#include <datatype.h>

FunctionDataType corresponds to the C++ type maxon::Function. Whenever the flag VALUEKIND::FUNCTION is set for a DataType, you can safely cast it to FunctionDataType which gives you access to the input and output types of the function.
Additional Inherited Members | |
Public Types inherited from DataType | |
| enum class | BASE_OF_MODE { NONE , ORDERED_TYPE_ONLY , UNORDERED_BY_NAME , GENERIC_DOWNCAST } |
| using | Conversion = Delegate< Result< void >(const DataPtr &dest, const ConstDataPtr &src)> |
Static Public Member Functions inherited from DataType | |
| static MAXON_ATTRIBUTE_FORCE_INLINE const DataType & | NullValue () |
| static Result< DataType > | Get (const Id &typeId) |
| template<typename DEST , typename SRC > | |
| static Result< void > | AddConversion (CONVERSION_FLAGS kind, Result< void >(*conversion)(DEST &dest, const SRC &src)) |
| const TupleDataType& GetOutputs | ( | ) | const |
Returns the output types (of the result) of a function.
| const TupleDataType& GetInputs | ( | ) | const |
Returns the input types (of the parameters) of a function.