Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

Y2CCScript Class Reference

Creates client components realized by YCP scripts This component broker creates components of the type Y2ScriptComponent. You can give it a module name or a path name to some file. First it tries to find some script in YASTHOME/clients/.ycp. If it doesn't find one here, it considers the name to be a filename and examines that file. If it: . More...

#include <Y2CCScript.h>

Inheritance diagram for Y2CCScript:

Y2ComponentCreator List of all members.

Public Member Functions

 Y2CCScript ()
virtual Y2ComponentcreateInLevel (const char *name, int level, int current_level) const
virtual bool isServerCreator () const
virtual Y2ComponentprovideNamespace (const char *name)

Private Attributes

regex_t rx1

Detailed Description

Creates client components realized by YCP scripts This component broker creates components of the type Y2ScriptComponent. You can give it a module name or a path name to some file. First it tries to find some script in YASTHOME/clients/.ycp. If it doesn't find one here, it considers the name to be a filename and examines that file. If it: .


Constructor & Destructor Documentation

Y2CCScript::Y2CCScript  ) 
 

Creates a script component creator.


Member Function Documentation

Y2Component * Y2CCScript::createInLevel const char *  name,
int  level,
int  current_level
const [virtual]
 

Tries to create a script module from the given name. See the class description for details.

Reimplemented from Y2ComponentCreator.

bool Y2CCScript::isServerCreator  )  const [virtual]
 

Returns always true, since currently only client components can be realized by a YCP script.

Implements Y2ComponentCreator.

Y2Component * Y2CCScript::provideNamespace const char *  name  )  [virtual]
 

We do provide namespaces from YCP

Reimplemented from Y2ComponentCreator.


Member Data Documentation

regex_t Y2CCScript::rx1 [private]
 

regular expression


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 18:15:24 2007 for yast2-core by doxygen 1.3.6