|
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 |
||
| ) |
| Import::~Import | ( | ) |
| void Import::disableTracking | ( | ) | [static] |
References m_disable_tracking, and y2debug.
| void Import::enableTracking | ( | ) | [static] |
References SymbolTable::enableUsage(), m_disable_tracking, m_table_stack, and y2debug.
| int Import::import | ( | const string & | name, |
| Y2Namespace * | preloaded_namespace = 0 |
||
| ) |
| Y2Namespace * Import::nameSpace | ( | ) | const |
References m_active_modules, and m_module.
Referenced by YSImport::evaluate(), YSImport::toStream(), YSImport::toXml(), and YSImport::YSImport().
Import::module_map Import::m_active_modules [static, protected] |
Referenced by nameSpace().
int Import::m_disable_tracking = 0 [static, private] |
Referenced by disableTracking(), and enableTracking().
module_map::iterator Import::m_module [protected] |
Referenced by nameSpace(), YSImport::toStream(), and YSImport::YSImport().
Ustring Import::m_name [protected] |
Referenced by YSImport::evaluate(), YSImport::name(), name(), YSImport::toStream(), YSImport::toString(), YSImport::toXml(), and YSImport::YSImport().
std::stack< std::pair< string, SymbolTable * > > Import::m_table_stack [static, private] |
Referenced by enableTracking().
1.7.3