Public Member Functions | Protected Member Functions
TlbExport Class Reference

#include <export.hh>

Inheritance diagram for TlbExport:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool save (std::ostream &stream, Typelib::RegistryIterator const &type)

Protected Member Functions

virtual void begin (std::ostream &stream, Typelib::Registry const &registry)
virtual void end (std::ostream &stream, Typelib::Registry const &registry)

Detailed Description

Definition at line 6 of file tlb/export.hh.


Member Function Documentation

void TlbExport::begin ( std::ostream &  stream,
Typelib::Registry const &  registry 
) [protected, virtual]

Called by save to add a prelude before saving all registry types

Reimplemented from Typelib::Exporter.

Definition at line 188 of file tlb/export.cc.

void TlbExport::end ( std::ostream &  stream,
Typelib::Registry const &  registry 
) [protected, virtual]

Called by save to add data after saving all registry types

Reimplemented from Typelib::Exporter.

Definition at line 196 of file tlb/export.cc.

bool TlbExport::save ( std::ostream &  stream,
Typelib::RegistryIterator const &  type 
) [virtual]

Serialize one type in stream. It is called by Registry::save(ostream&, Registry const&)

  • stream the stream to write to
  • type the type to be serialized
    Returns:
    true if the type has been saved and false if it is ignored by this exporter

Implements Typelib::Exporter.

Definition at line 204 of file tlb/export.cc.


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


typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Mon Sep 14 2015 15:08:18