Public Member Functions
Typelib::Importer Class Reference

#include <importer.hh>

Inheritance diagram for Typelib::Importer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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)
virtual ~Importer ()

Detailed Description

Base class for import objects

Definition at line 48 of file importer.hh.


Constructor & Destructor Documentation

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

Definition at line 51 of file importer.hh.


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

Implemented in CImport, and TlbImport.

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

Reimplemented in CImport, and TlbImport.

Definition at line 12 of file importer.cc.


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


typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Thu Jan 2 2014 11:38:41