Vaucanson  1.4.1
strings.hh
1 // strings.hh: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 2004, 2005, 2006 The Vaucanson Group.
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
11 //
12 // The complete GNU General Public Licence Notice can be found as the
13 // `COPYING' file in the root directory.
14 //
15 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
16 //
17 
18 #ifndef VCSN_XML_STRINGS_HH
19 # define VCSN_XML_STRINGS_HH
20 
21 # include <string>
22 
23 # include <xercesc/util/XMLUniDefs.hpp>
24 # include <xercesc/util/XMLString.hpp>
25 
26 namespace vcsn
27 {
28 
29  namespace xml
30  {
31 
33  inline
34  XMLCh* transcode (const char* ccp);
35 
37  inline
38  XMLCh* transcode (const std::string& s);
39 
41  inline
42  std::string xmlstr(const XMLCh*);
43 
44  } // End of namespace xml.
45 
46 } // End of namespace vcsn.
47 
48 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
49 # include <vaucanson/xml/strings.hxx>
50 # endif // ! VCSN_USE_INTERFACE_ONLY
51 
52 #endif // ! VCSN_XML_STRINGS_HH