|
yast2-core
|
instantiate to import a module More...
#include <Import.h>
Public Types | |
| typedef std::map< std::string, Y2Namespace * > | module_map |
Public Member Functions | |
| Import () | |
| Import (const string &name, Y2Namespace *name_space=0) | |
| ~Import () | |
| int | import (const string &name, Y2Namespace *preloaded_namespace=0) |
| string | name () const |
| Y2Namespace * | nameSpace () const |
Static Public Member Functions | |
| static void | disableTracking () |
| static void | enableTracking () |
Protected Attributes | |
| Ustring | m_name |
| module_map::iterator | m_module |
Static Protected Attributes | |
| static module_map | m_active_modules |
Static Private Attributes | |
| static int | m_disable_tracking = 0 |
| static std::stack< std::pair < string, SymbolTable * > > | m_table_stack |
instantiate to import a module
| typedef std::map<std::string, Y2Namespace *> Import::module_map |
| Import::Import | ( | ) |
| Import::Import | ( | const string & | name, |
| Y2Namespace * | name_space = 0 |
||
| ) |
References SymbolEntry::emptyUstring, and m_name.
| Import::~Import | ( | ) |
|
static |
References m_disable_tracking, and y2debug.
Referenced by YSImport::YSImport().
|
static |
References SymbolTable::enableUsage(), m_disable_tracking, m_table_stack, and y2debug.
Referenced by YSImport::YSImport().
| int Import::import | ( | const string & | name, |
| Y2Namespace * | preloaded_namespace = 0 |
||
| ) |
References SymbolEntry::_nameHash, SymbolTable::disableUsage(), Ustring::empty(), Y2ComponentBroker::getNamespaceComponent(), Y2Component::import(), m_active_modules, m_disable_tracking, m_module, m_name, m_table_stack, Y2Component::name(), SymbolTable::startUsage(), Y2Namespace::table(), y2debug, y2error, y2internal, and ycp2error.
| string Import::name | ( | ) | const |
References m_name.
| Y2Namespace * Import::nameSpace | ( | ) | const |
References m_active_modules, and m_module.
Referenced by YSImport::evaluate(), YSImport::toStream(), YSImport::toXml(), and YSImport::YSImport().
|
staticprotected |
Referenced by import(), and nameSpace().
|
staticprivate |
Referenced by disableTracking(), enableTracking(), and import().
|
protected |
Referenced by import(), nameSpace(), YSImport::toStream(), and YSImport::YSImport().
|
protected |
Referenced by YSImport::evaluate(), Import(), import(), name(), YSImport::name(), YSImport::toStream(), YSImport::toString(), YSImport::toXml(), and YSImport::YSImport().
|
staticprivate |
Referenced by enableTracking(), and import().
1.8.6