API Documentation
ArrayAccessorDescriptor.h
1 // ArrayAccessorDescriptor.h
3 //
5 
6 namespace nkScripts
7 {
9  using ArrayWriteFunction = std::function<void(const DataStack&)> ;
10 
15  {
18 
19  // Le type de tableau à pourvoir
22  } ;
23 }
nkScripts::ArrayAccessorDescriptor::_writeFunc
ArrayWriteFunction _writeFunc
Callback to use for writing.
Definition: ArrayAccessorDescriptor.h:17
nkScripts
Encompasses all API of component NilkinsScripts.
Definition: Environment.h:7
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkScripts::ArrayAccessorDescriptor::_userTypeName
nkMemory::String _userTypeName
If a user type, the user type name attached.
Definition: ArrayAccessorDescriptor.h:21
nkScripts::ArrayAccessorDescriptor::_fieldType
FUNCTION_PARAMETER_TYPE _fieldType
The field type.
Definition: ArrayAccessorDescriptor.h:20
nkScripts::ArrayAccessorDescriptor::_readFunc
ArrayReadFunction _readFunc
Callback to use for reading.
Definition: ArrayAccessorDescriptor.h:16
nkScripts::FUNCTION_PARAMETER_TYPE::INT
@ INT
Int variable.
nkScripts::FunctionCallback
std::function< OutputValue(const DataStack &)> FunctionCallback
A callback in C++, the script environment will call when tied.
Definition: FunctionDefines.h:10
nkMemory::String
Class holding information about a string, with ownership over the data.
Definition: String.h:22
nkScripts::ArrayWriteFunction
std::function< void(const DataStack &)> ArrayWriteFunction
Callback function signature for array writing.
Definition: ArrayAccessorDescriptor.h:9
nkScripts::FUNCTION_PARAMETER_TYPE
FUNCTION_PARAMETER_TYPE
Describes a variable type.
Definition: FunctionParameterType.h:12
nkScripts::ArrayAccessorDescriptor
Holds information about the way to access a user type as an array.
Definition: ArrayAccessorDescriptor.h:15
nkScripts::ArrayReadFunction
FunctionCallback ArrayReadFunction
Callback function signature for array reading.
Definition: ArrayAccessorDescriptor.h:8