Typelib::Importer Class Reference

#include <typelib/importer.hh>

List of all members.

Public Member Functions

virtual ~Importer ()
virtual void load (std::istream &stream, utilmm::config_set const &config, Registry &registry)=0
virtual void load (std::string const &path, utilmm::config_set const &config, Registry &registry)


Detailed Description

Base class for import objects

Constructor & Destructor Documentation

virtual Typelib::Importer::~Importer (  )  [inline, virtual]


Member Function Documentation

virtual void Typelib::Importer::load ( std::istream &  stream,
utilmm::config_set const &  config,
Registry registry 
) [pure virtual]

Loads a registry from an input stream object

  • stream the input stream
  • config the import configuration. Allowed values are importer-dependent
  • registry the registry the types are to be imported into

Referenced by Typelib::PluginManager::load().

void Importer::load ( std::string const &  path,
utilmm::config_set const &  config,
Registry registry 
) [virtual]

Loads a registry from a file. The default implementation calls load(std::istream&) with the corresponding ifstream object

  • path the path of the file to load
  • config the import configuration. Allowed values are importer-dependent
  • registry the registry to import into

References Typelib::ValueOps::load().


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

Generated on Thu Jan 22 16:37:54 2009 for typeLib by doxygen 1.5.6
SourceForge.net Project Page