- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

# xmleq.hxx

Go to the documentation of this file.

    00001 // xmleq.hxx: this file is part of the Vaucanson project.
    00002 //
    00003 // Vaucanson, a generic library for finite state machines.
    00004 //
    00005 // Copyright (C) 2004, 2005, 2006, 2007 The Vaucanson Group.
    00006 //
    00007 // This program is free software; you can redistribute it and/or
    00008 // modify it under the terms of the GNU General Public License
    00009 // as published by the Free Software Foundation; either version 2
    00010 // of the License, or (at your option) any later version.
    00011 //
    00012 // The complete GNU General Public Licence Notice can be found as the
    00013 // `COPYING' file in the root directory.
    00014 //
    00015 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
    00016 //
    00017
    00018 #ifndef VCSN_XML_XMLEQ_HXX
    00019 # define VCSN_XML_XMLEQ_HXX
    00020
    00031 # include <vaucanson/misc/contract.hh>
    00032
    00033 namespace vcsn
    00034 {
    00035   namespace xml
    00036   {
    00037     XMLEq::XMLEq ()
    00038     {
    00039       fsmxml = xercesc::XMLString::transcode("fsmxml");
    00040       automaton = xercesc::XMLString::transcode("automaton");
    00041       geometry = xercesc::XMLString::transcode("geometry");
    00042       drawing = xercesc::XMLString::transcode("drawing");
    00043       type = xercesc::XMLString::transcode("labelType");
    00044       monoid = xercesc::XMLString::transcode("monoid");
    00045       generator = xercesc::XMLString::transcode("generator");
    00046       semiring = xercesc::XMLString::transcode("semiring");
    00047       nsemiring = xercesc::XMLString::transcode("numericalSemiring");
    00048       content = xercesc::XMLString::transcode("content");
    00049       states = xercesc::XMLString::transcode("states");
    00050       state = xercesc::XMLString::transcode("state");
    00051       transitions = xercesc::XMLString::transcode("transitions");
    00052       transition = xercesc::XMLString::transcode("transition");
    00053       initial = xercesc::XMLString::transcode("initial");
    00054       final = xercesc::XMLString::transcode("final");
    00055
    00056       label = xercesc::XMLString::transcode("label");
    00057       sum = xercesc::XMLString::transcode("sum");
    00058       product = xercesc::XMLString::transcode("product");
    00059       star = xercesc::XMLString::transcode("star");
    00060       word = xercesc::XMLString::transcode("word");
    00061       zero = xercesc::XMLString::transcode("zero");
    00062       identity = xercesc::XMLString::transcode("identity");
    00063     }
    00064
    00065     XMLEq::~XMLEq ()
    00066     {
    00067       xercesc::XMLString::release(&fsmxml);
    00068       xercesc::XMLString::release(&automaton);
    00069       xercesc::XMLString::release(&geometry);
    00070       xercesc::XMLString::release(&drawing);
    00071       xercesc::XMLString::release(&type);
    00072       xercesc::XMLString::release(&monoid);
    00073       xercesc::XMLString::release(&generator);
    00074       xercesc::XMLString::release(&semiring);
    00075       xercesc::XMLString::release(&nsemiring);
    00076       xercesc::XMLString::release(&content);
    00077       xercesc::XMLString::release(&states);
    00078       xercesc::XMLString::release(&state);
    00079       xercesc::XMLString::release(&transitions);
    00080       xercesc::XMLString::release(&transition);
    00081       xercesc::XMLString::release(&initial);
    00082       xercesc::XMLString::release(&final);
    00083       xercesc::XMLString::release(&label);
    00084       xercesc::XMLString::release(&sum);
    00085       xercesc::XMLString::release(&product);
    00086       xercesc::XMLString::release(&star);
    00087       xercesc::XMLString::release(&word);
    00088       xercesc::XMLString::release(&zero);
    00089       xercesc::XMLString::release(&identity);
    00090     }
    00091   } // End of namespace xml.
    00092
    00093 } // End of namespace vcsn.
    00094
    00095 #endif // ! VCSN_XML_XMLEQ_HXX