yast2-core
Private Member Functions | List of all members
TestY2Component Class Reference
Inheritance diagram for TestY2Component:
Y2Component Y2Component Y2Component

Private Member Functions

virtual Y2Namespaceimport (const char *name)
 
virtual string name () const
 
virtual Y2Namespaceimport (const char *name)
 
virtual string name () const
 
virtual Y2Namespaceimport (const char *name)
 
virtual string name () const
 

Additional Inherited Members

- Public Member Functions inherited from Y2Component
 Y2Component ()
 
virtual ~Y2Component ()
 
virtual YCPValue evaluate (const YCPValue &command)
 
virtual void result (const YCPValue &result)
 
virtual void setServerOptions (int argc, char **argv)
 
virtual YCPValue doActualWork (const YCPList &arglist, Y2Component *user_interface)
 
virtual SCRAgentgetSCRAgent ()
 
virtual bool remote () const
 

Member Function Documentation

virtual Y2Namespace* TestY2Component::import ( const char *  name_space)
inlineprivatevirtual

Try to import a given namespace. This method is used for transparent handling of namespaces (YCP modules) through whole YaST. NOTICE: there is no reverse operation to import. Semantics of YCP modules is there is a single instance and it is available from the first import until the end of YaST run.

Parameters
name_spacethe name of the required namespace
Returns
on errors, NULL should be returned. The error reporting must be done by the component itself (typically using y2log). On success, the method should return a proper instance of the imported namespace ready to be used. The returned instance is still owned by the component, any other part of YaST will try to free it. Thus, it's possible to share the instance.

Reimplemented from Y2Component.

References name(), Bytecode::readModule(), and y2debug.

virtual Y2Namespace* TestY2Component::import ( const char *  name_space)
inlineprivatevirtual

Try to import a given namespace. This method is used for transparent handling of namespaces (YCP modules) through whole YaST. NOTICE: there is no reverse operation to import. Semantics of YCP modules is there is a single instance and it is available from the first import until the end of YaST run.

Parameters
name_spacethe name of the required namespace
Returns
on errors, NULL should be returned. The error reporting must be done by the component itself (typically using y2log). On success, the method should return a proper instance of the imported namespace ready to be used. The returned instance is still owned by the component, any other part of YaST will try to free it. Thus, it's possible to share the instance.

Reimplemented from Y2Component.

References name(), Bytecode::readModule(), and y2debug.

virtual Y2Namespace* TestY2Component::import ( const char *  name_space)
inlineprivatevirtual

Try to import a given namespace. This method is used for transparent handling of namespaces (YCP modules) through whole YaST. NOTICE: there is no reverse operation to import. Semantics of YCP modules is there is a single instance and it is available from the first import until the end of YaST run.

Parameters
name_spacethe name of the required namespace
Returns
on errors, NULL should be returned. The error reporting must be done by the component itself (typically using y2log). On success, the method should return a proper instance of the imported namespace ready to be used. The returned instance is still owned by the component, any other part of YaST will try to free it. Thus, it's possible to share the instance.

Reimplemented from Y2Component.

References name(), Bytecode::readModule(), and y2debug.

virtual string TestY2Component::name ( ) const
inlineprivatevirtual

Returns the name of the module.

Implements Y2Component.

Referenced by import().

virtual string TestY2Component::name ( ) const
inlineprivatevirtual

Returns the name of the module.

Implements Y2Component.

virtual string TestY2Component::name ( ) const
inlineprivatevirtual

Returns the name of the module.

Implements Y2Component.


The documentation for this class was generated from the following files:

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