1 |
/* |
/* |
2 |
* Copyright (c) 2014-2016 Christian Schoenebeck |
* Copyright (c) 2014-2017 Christian Schoenebeck |
3 |
* |
* |
4 |
* http://www.linuxsampler.org |
* http://www.linuxsampler.org |
5 |
* |
* |
157 |
* expressions to an array expression for you, instead this method will |
* expressions to an array expression for you, instead this method will |
158 |
* simply return NULL! |
* simply return NULL! |
159 |
* |
* |
160 |
|
* @b Note: this method is currently, and in contrast to its other |
161 |
|
* counter parts, declared as virtual method. Some deriving classes are |
162 |
|
* currently using this to override this default implementation in order |
163 |
|
* to implement an "evaluate now as integer array" behavior. This has |
164 |
|
* efficiency reasons, however this also currently makes this part of |
165 |
|
* the API less clean and should thus be addressed in future with |
166 |
|
* appropriate changes to the API. |
167 |
|
* |
168 |
* @see exprType() |
* @see exprType() |
169 |
*/ |
*/ |
170 |
VMIntArrayExpr* asIntArray() const; |
virtual VMIntArrayExpr* asIntArray() const; |
171 |
|
|
172 |
/** |
/** |
173 |
* Returns true in case this expression can be considered to be a |
* Returns true in case this expression can be considered to be a |
757 |
public: |
public: |
758 |
}; |
}; |
759 |
|
|
760 |
|
/** @brief Dynamically executed variable (of integer array data type). |
761 |
|
* |
762 |
|
* This is the base class for all built-in integer array script variables |
763 |
|
* whose variable content needs to be provided dynamically by executable |
764 |
|
* native code on each script variable access. |
765 |
|
*/ |
766 |
|
class VMDynIntArrayVar : virtual public VMDynVar, virtual public VMIntArrayExpr { |
767 |
|
public: |
768 |
|
}; |
769 |
|
|
770 |
/** @brief Provider for built-in script functions and variables. |
/** @brief Provider for built-in script functions and variables. |
771 |
* |
* |
772 |
* Abstract base class defining the high-level interface for all classes |
* Abstract base class defining the high-level interface for all classes |