#include <Y2UINamespace.h>

Public Member Functions | |
| Y2UIFunction (Y2UINamespace *instance, YUIComponent *comp, unsigned int pos, bool play_macro_blocks) | |
| bool | attachParameter (const YCPValue &arg, const int position) |
| constTypePtr | wantedParameterType () const |
| bool | appendParameter (const YCPValue &arg) |
| bool | finishParameters () |
| YCPValue | evaluateCall () |
| YCPValue | evaluateCall_int () |
| bool | reset () |
| string | name () const |
Protected Attributes | |
| unsigned int | m_position |
| Y2UINamespace * | m_instance |
| YUIComponent * | m_comp |
| bool | m_play_macro_blocks |
| YCPValue | m_param1 |
| YCPValue | m_param2 |
| YCPValue | m_param3 |
| YCPValue | m_param4 |
| YCPValue | m_param5 |
| Y2UIFunction::Y2UIFunction | ( | Y2UINamespace * | instance, | |
| YUIComponent * | comp, | |||
| unsigned int | pos, | |||
| bool | play_macro_blocks | |||
| ) |
| bool Y2UIFunction::attachParameter | ( | const YCPValue & | arg, | |
| const int | position | |||
| ) | [virtual] |
Attaches a parameter to a given position to the call.
Implements Y2Function.
| constTypePtr Y2UIFunction::wantedParameterType | ( | ) | const [virtual] |
What type is expected for the next appendParameter (val) ? (Used when calling from Perl, to be able to convert from the simple type system of Perl to the elaborate type system of YCP)
Implements Y2Function.
| bool Y2UIFunction::appendParameter | ( | const YCPValue & | arg | ) | [virtual] |
| bool Y2UIFunction::finishParameters | ( | ) | [virtual] |
Signal that we're done adding parameters.
Implements Y2Function.
Reimplemented in Y2UIOverloadedFunction.
| YCPValue Y2UIFunction::evaluateCall | ( | ) | [virtual] |
Executes the call
Implements Y2Function.
| YCPValue Y2UIFunction::evaluateCall_int | ( | ) |
| bool Y2UIFunction::reset | ( | ) | [virtual] |
Reset the currecn parameters, so the instance can be reused for the next call (appendParameter etc)
Implements Y2Function.
| string Y2UIFunction::name | ( | ) | const [virtual] |
Implements Y2Function.
unsigned int Y2UIFunction::m_position [protected] |
Y2UINamespace* Y2UIFunction::m_instance [protected] |
YUIComponent* Y2UIFunction::m_comp [protected] |
bool Y2UIFunction::m_play_macro_blocks [protected] |
YCPValue Y2UIFunction::m_param1 [protected] |
YCPValue Y2UIFunction::m_param2 [protected] |
YCPValue Y2UIFunction::m_param3 [protected] |
YCPValue Y2UIFunction::m_param4 [protected] |
YCPValue Y2UIFunction::m_param5 [protected] |
1.5.3