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

- File List
- File Members

# xmleq.hxx

    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, 2008 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
    00021 namespace vcsn
    00022 {
    00023   namespace xml
    00024   {
    00025     XMLEq::XMLEq ()
    00026     {
    00027       /* tokens */
    00028
    00029       fsmxml = xercesc::XMLString::transcode("fsmxml");
    00030
    00031       valueType = xercesc::XMLString::transcode("valueType");
    00032       semiring = xercesc::XMLString::transcode("semiring");
    00033       monoid = xercesc::XMLString::transcode("monoid");
    00034       genSort = xercesc::XMLString::transcode("genSort");
    00035       genCompSort = xercesc::XMLString::transcode("genCompSort");
    00036       genComp = xercesc::XMLString::transcode("genComp");
    00037       monGen = xercesc::XMLString::transcode("monGen");
    00038       monCompGen = xercesc::XMLString::transcode("monCompGen");
    00039
    00040       drawing = xercesc::XMLString::transcode("drawingData");
    00041       geometry = xercesc::XMLString::transcode("geometricData");
    00042       data = xercesc::XMLString::transcode("data");
    00043
    00044       automaton = xercesc::XMLString::transcode("automaton");
    00045       content = xercesc::XMLString::transcode("automatonStruct");
    00046       states = xercesc::XMLString::transcode("states");
    00047       state = xercesc::XMLString::transcode("state");
    00048       transitions = xercesc::XMLString::transcode("transitions");
    00049       transition = xercesc::XMLString::transcode("transition");
    00050       initial = xercesc::XMLString::transcode("initial");
    00051       final = xercesc::XMLString::transcode("final");
    00052
    00053       regExp = xercesc::XMLString::transcode("regExp");
    00054       typedRegExp = xercesc::XMLString::transcode("typedRegExp");
    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       leftExtMul = xercesc::XMLString::transcode("leftExtMul");
    00061       rightExtMul = xercesc::XMLString::transcode("rightExtMul");
    00062       one = xercesc::XMLString::transcode("one");
    00063       zero = xercesc::XMLString::transcode("zero");
    00064       monElmt = xercesc::XMLString::transcode("monElmt");
    00065       weight = xercesc::XMLString::transcode("weight");
    00066
    00067       writingData = xercesc::XMLString::transcode("writingData");
    00068
    00069       /* attributes */
    00070       identitySymbol = xercesc::XMLString::transcode("identitySym");
    00071       concat = xercesc::XMLString::transcode("timesSym");
    00072
    00073       openPar = xercesc::XMLString::transcode("openPar");
    00074       closePar = xercesc::XMLString::transcode("closePar");
    00075       plusSym = xercesc::XMLString::transcode("plusSym");
    00076       timesSym = xercesc::XMLString::transcode("timesSym");
    00077       openWeight = xercesc::XMLString::transcode("weightOpening");
    00078       closeWeight = xercesc::XMLString::transcode("weightClosing");
    00079       spacesSym = xercesc::XMLString::transcode("spacesSym");
    00080       zeroSym = xercesc::XMLString::transcode("zeroSym");
    00081       starSym = xercesc::XMLString::transcode("starSym");
    00082
    00083       value = xercesc::XMLString::transcode("value");
    00084       id = xercesc::XMLString::transcode("id");
    00085       source = xercesc::XMLString::transcode("source");
    00086       target = xercesc::XMLString::transcode("target");
    00087       x = xercesc::XMLString::transcode("x");
    00088       y = xercesc::XMLString::transcode("y");
    00089
    00090       type = xercesc::XMLString::transcode("type");
    00091       free = xercesc::XMLString::transcode("free");
    00092     }
    00093
    00094     XMLEq::~XMLEq ()
    00095     {
    00096       xercesc::XMLString::release(&fsmxml);
    00097
    00098       xercesc::XMLString::release(&valueType);
    00099       xercesc::XMLString::release(&semiring);
    00100       xercesc::XMLString::release(&monoid);
    00101       xercesc::XMLString::release(&genSort);
    00102       xercesc::XMLString::release(&genCompSort);
    00103       xercesc::XMLString::release(&genComp);
    00104       xercesc::XMLString::release(&monGen);
    00105       xercesc::XMLString::release(&monCompGen);
    00106
    00107       xercesc::XMLString::release(&drawing);
    00108       xercesc::XMLString::release(&geometry);
    00109       xercesc::XMLString::release(&data);
    00110
    00111       xercesc::XMLString::release(&automaton);
    00112       xercesc::XMLString::release(&content);
    00113       xercesc::XMLString::release(&states);
    00114       xercesc::XMLString::release(&state);
    00115       xercesc::XMLString::release(&transitions);
    00116       xercesc::XMLString::release(&transition);
    00117       xercesc::XMLString::release(&initial);
    00118       xercesc::XMLString::release(&final);
    00119
    00120       xercesc::XMLString::release(&regExp);
    00121       xercesc::XMLString::release(&typedRegExp);
    00122
    00123       xercesc::XMLString::release(&label);
    00124       xercesc::XMLString::release(&sum);
    00125       xercesc::XMLString::release(&product);
    00126       xercesc::XMLString::release(&star);
    00127       xercesc::XMLString::release(&leftExtMul);
    00128       xercesc::XMLString::release(&rightExtMul);
    00129       xercesc::XMLString::release(&one);
    00130       xercesc::XMLString::release(&zero);
    00131       xercesc::XMLString::release(&monElmt);
    00132       xercesc::XMLString::release(&weight);
    00133
    00134       xercesc::XMLString::release(&writingData);
    00135
    00136       xercesc::XMLString::release(&identitySymbol);
    00137       xercesc::XMLString::release(&concat);
    00138
    00139       xercesc::XMLString::release(&openPar);
    00140       xercesc::XMLString::release(&closePar);
    00141       xercesc::XMLString::release(&plusSym);
    00142       xercesc::XMLString::release(&timesSym);
    00143       xercesc::XMLString::release(&openWeight);
    00144       xercesc::XMLString::release(&closeWeight);
    00145       xercesc::XMLString::release(&spacesSym);
    00146       xercesc::XMLString::release(&zeroSym);
    00147       xercesc::XMLString::release(&starSym);
    00148
    00149       xercesc::XMLString::release(&value);
    00150       xercesc::XMLString::release(&source);
    00151       xercesc::XMLString::release(&target);
    00152       xercesc::XMLString::release(&x);
    00153       xercesc::XMLString::release(&y);
    00154
    00155       xercesc::XMLString::release(&type);
    00156       xercesc::XMLString::release(&free);
    00157     }
    00158   } // End of namespace xml.
    00159 } // End of namespace vcsn.
    00160
    00161 #endif // ! VCSN_XML_XMLEQ_HXX