Import Class Reference

instantiate to import a module More...

#include <Import.h>

Inheritance diagram for Import:
YSImport

List of all members.

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
Y2NamespacenameSpace () 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

Detailed Description

instantiate to import a module


Member Typedef Documentation

typedef std::map<std::string, Y2Namespace *> Import::module_map

Constructor & Destructor Documentation

Import::Import (  ) 
Import::Import ( const string &  name,
Y2Namespace name_space = 0 
)
Import::~Import (  ) 

Member Function Documentation

void Import::disableTracking (  )  [static]

References m_disable_tracking, and y2debug.

Referenced by YSImport::YSImport().

void Import::enableTracking (  )  [static]
int Import::import ( const string &  name,
Y2Namespace preloaded_namespace = 0 
)
string Import::name (  )  const

Reimplemented in YSImport.

References m_name.

Y2Namespace * Import::nameSpace (  )  const

Member Data Documentation

Referenced by import(), and nameSpace().

int Import::m_disable_tracking = 0 [static, private]
module_map::iterator Import::m_module [protected]
Ustring Import::m_name [protected]
std::stack< std::pair< string, SymbolTable * > > Import::m_table_stack [static, private]

Referenced by enableTracking(), and import().


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

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