1 // file : xsd/cxx/tree/text.hxx 2 // copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC 3 // license : GNU GPL v2 + exceptions; see accompanying LICENSE file 4 5 #ifndef XSD_CXX_TREE_TEXT_HXX 6 #define XSD_CXX_TREE_TEXT_HXX 7 8 #include <string> 9 10 #include <xercesc/dom/DOMElement.hpp> 11 12 namespace xsd 13 { 14 namespace cxx 15 { 16 namespace tree 17 { 18 // Throws expected_text_content. 19 // 20 template <typename C> 21 std::basic_string<C> 22 text_content (const xercesc::DOMElement&); 23 } 24 } 25 } 26 27 #include <xsd/cxx/tree/text.txx> 28 29 #endif // XSD_CXX_TREE_TEXT_HXX 30