Public Member Functions
TlbImport Class Reference

#include <import.hh>

Inheritance diagram for TlbImport:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void load (std::istream &stream, utilmm::config_set const &config, Typelib::Registry &registry)
virtual void load (std::string const &file, utilmm::config_set const &config, Typelib::Registry &registry)

Detailed Description

Definition at line 6 of file lang/tlb/import.hh.


Member Function Documentation

void TlbImport::load ( std::istream &  stream,
utilmm::config_set const &  config,
Typelib::Registry registry 
) [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

Implements Typelib::Importer.

Definition at line 313 of file lang/tlb/import.cc.

void TlbImport::load ( std::string const &  path,
utilmm::config_set const &  config,
Typelib::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 from Typelib::Importer.

Definition at line 345 of file lang/tlb/import.cc.


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


typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Mon Oct 6 2014 03:17:12