yast2-core
Y2StdioFunction.h
Go to the documentation of this file.
1 /*------------------------------------------------------------*- c++ -*-\
2 | |
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
8 | |
9 | core system |
10 | (C) SuSE GmbH |
11 \-----------------------------------------------------------------------/
12 
13  File: Y2StdioFunction.h
14  a remote function call
15 
16  Author: Stanislav Visnovsky <visnov@suse.cz>
17  Maintainer: Stanislav Visnovsky <visnov@suse.cz>
18 
19 /-*/
20 
21 #ifndef Y2StdioFunction_h
22 #define Y2StdioFunction_h
23 
24 #include <y2/Y2Namespace.h>
25 #include <y2/Y2Function.h>
26 
27 class Y2ProgramComponent;
28 
29 class Y2StdioFunction : public Y2Function {
30 
31  string m_namespace;
32  string m_name;
33  constFunctionTypePtr m_type;
35 
37 
38 public:
39  Y2StdioFunction (string ns, string name
40  , constFunctionTypePtr type, Y2ProgramComponent* sender);
41 
42  virtual ~Y2StdioFunction ();
43 
48  virtual bool attachParameter (const YCPValue& arg, const int position);
49 
56  virtual constTypePtr wantedParameterType () const;
57 
62  virtual bool appendParameter (const YCPValue& arg);
63 
68  virtual bool finishParameters ();
69 
73  virtual YCPValue evaluateCall ();
74 
79  virtual bool reset ();
80 
81  virtual string name () const;
82 };
83 
84 #endif // Y2StdioFunction_h

Generated on a sunny day for yast2-core by doxygen 1.8.2