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_space | the 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_space | the 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_space | the 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 |
virtual string TestY2Component::name |
( |
| ) |
const |
|
inlineprivatevirtual |
virtual string TestY2Component::name |
( |
| ) |
const |
|
inlineprivatevirtual |
The documentation for this class was generated from the following files: