#include <YExpression.h>
Inheritance diagram for Y2YCPFunction:

Public Member Functions | |
| Y2YCPFunction (YSymbolEntryPtr entry) | |
| ~Y2YCPFunction () | |
| string | qualifiedName () const |
| string | name () const |
| virtual bool | attachParameter (const YCPValue &arg, const int pos) |
| virtual constTypePtr | wantedParameterType () const |
| virtual bool | appendParameter (const YCPValue &arg) |
| virtual bool | finishParameters () |
| virtual YCPValue | evaluateCall () |
| virtual bool | reset () |
Private Attributes | |
| YSymbolEntryPtr | m_sentry |
| YCPValue * | m_parameters |
| Y2YCPFunction::Y2YCPFunction | ( | YSymbolEntryPtr | entry | ) |
| Y2YCPFunction::~Y2YCPFunction | ( | ) |
| string Y2YCPFunction::qualifiedName | ( | ) | const |
| string Y2YCPFunction::name | ( | ) | const [virtual] |
Implements Y2Function.
| bool Y2YCPFunction::attachParameter | ( | const YCPValue & | arg, | |
| const int | pos | |||
| ) | [virtual] |
Attaches a parameter to a given position to the call.
Implements Y2Function.
| constTypePtr Y2YCPFunction::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 Y2YCPFunction::appendParameter | ( | const YCPValue & | arg | ) | [virtual] |
| bool Y2YCPFunction::finishParameters | ( | ) | [virtual] |
Signal that we're done adding parameters.
Implements Y2Function.
| YCPValue Y2YCPFunction::evaluateCall | ( | ) | [virtual] |
Executes the call
Implements Y2Function.
| bool Y2YCPFunction::reset | ( | ) | [virtual] |
Reset the currecn parameters, so the instance can be reused for the next call (appendParameter etc)
Implements Y2Function.
YSymbolEntryPtr Y2YCPFunction::m_sentry [private] |
YCPValue* Y2YCPFunction::m_parameters [private] |
1.5.0