summaryrefslogtreecommitdiff
path: root/libxsd/libxsd/cxx/tree/text.hxx
blob: 45dc1df4daa3e78f37935c8271b0205682767133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// file      : libxsd/cxx/tree/text.hxx
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef LIBXSD_CXX_TREE_TEXT_HXX
#define LIBXSD_CXX_TREE_TEXT_HXX

#include <string>

#include <xercesc/dom/DOMElement.hpp>

namespace xsd
{
  namespace cxx
  {
    namespace tree
    {
      // Throws expected_text_content.
      //
      template <typename C>
      std::basic_string<C>
      text_content (const xercesc::DOMElement&);
    }
  }
}

#include <libxsd/cxx/tree/text.txx>

#endif // LIBXSD_CXX_TREE_TEXT_HXX