Structure for addressing the parameters passed to a subroutine by name.
More...
#include <subroutineFrame.hpp>
Structure for addressing the parameters passed to a subroutine by name.
_Wolframe::db::vm::SubroutineFrame::SubroutineFrame |
( |
| ) |
|
|
inline |
_Wolframe::db::vm::SubroutineFrame::SubroutineFrame |
( |
const std::vector< std::string > & |
paramnames_ | ) |
|
|
inlineexplicit |
_Wolframe::db::vm::SubroutineFrame::SubroutineFrame |
( |
const SubroutineFrame & |
o | ) |
|
|
inline |
void _Wolframe::db::vm::SubroutineFrame::clear |
( |
| ) |
|
|
inline |
Clear current subroutine frame (start initialization)
ValueTupleSetR _Wolframe::db::vm::SubroutineFrame::getParameters |
( |
| ) |
const |
|
inline |
Get the parameters of a called subroutine as value tuple set.
- Returns
- the value tuple set of the parameters
void _Wolframe::db::vm::SubroutineFrame::init |
( |
const std::vector< std::string > & |
paramnames_ | ) |
|
|
inline |
Initialize parameter names by the parameters defined for a subroutine.
void _Wolframe::db::vm::SubroutineFrame::push |
( |
const types::Variant & |
p | ) |
|
|
inline |
Push a parameter value (in the order of the parameter names)
std::vector<std::string> _Wolframe::db::vm::SubroutineFrame::m_paramnames |
|
private |
std::vector<types::Variant> _Wolframe::db::vm::SubroutineFrame::m_paramvalues |
|
private |
parameter values (parallel array to m_paramnames)
The documentation for this class was generated from the following file: