Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

xml_converter Struct Template Reference

Base conversion class. More...

List of all members.

Public Member Functions

template<class OStream>
void save (const Auto &a, OStream &out, const std::string &name="")
 Save automaton to stream.
template<class IStream>
void load (Auto &a, IStream &in)
 Load automaton from stream.


Detailed Description

template<class Auto>
struct vcsn::xml::xml_converter< Auto >

Base conversion class.

Parameters:
Auto Type of the automaton to load / save.


Member Function Documentation

void save const Auto &  a,
OStream &  out,
const std::string &  name = ""
 

Save automaton to stream.

Parameters:
OStream Type of the output stream.
  • a Automaton to save.
  • out Output stream.
  • name String containing the name of the automaton.

void load Auto &  a,
IStream &  in
 

Load automaton from stream.

Parameters:
IStream Type of the input stream.
  • a Automaton to load.
  • in Input stream.


Generated on Thu Oct 27 12:52:45 2005 for Vaucanson by  doxygen 1.4.1