#include <Y2StdioFunction.h>
Inheritance diagram for Y2StdioFunction:

Public Member Functions | |
| Y2StdioFunction (string ns, string name, constFunctionTypePtr type, Y2ProgramComponent *sender) | |
| virtual | ~Y2StdioFunction () |
| virtual bool | attachParameter (const YCPValue &arg, const int position) |
| virtual constTypePtr | wantedParameterType () const |
| virtual bool | appendParameter (const YCPValue &arg) |
| virtual bool | finishParameters () |
| virtual YCPValue | evaluateCall () |
| virtual bool | reset () |
| virtual string | name () const |
Private Attributes | |
| string | m_namespace |
| string | m_name |
| constFunctionTypePtr | m_type |
| YCPValue * | m_parameters |
| Y2ProgramComponent * | m_sender |
|
||||||||||||||||||||
|
|
|
|
|
|
|
Appends a parameter to the call.
Implements Y2Function. |
|
||||||||||||
|
Attaches a parameter to a given position to the call.
Implements Y2Function. |
|
|
Executes the call Implements Y2Function. |
|
|
Signal that we're done adding parameters.
Implements Y2Function. |
|
|
Implements Y2Function. |
|
|
Reset the currecn parameters, so the instance can be reused for the next call (appendParameter etc) Implements Y2Function. |
|
|
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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6