ANNA Suite  2020b
Multipurpose development suite for Telco applications
DTDFile.hpp
Go to the documentation of this file.
1 // ANNA - Anna is Not Nothingness Anymore //
2 // //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
4 // //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7 
8 
9 #ifndef anna_xml_DTDFile_hpp
10 #define anna_xml_DTDFile_hpp
11 
12 #include <anna/xml/DTD.hpp>
13 
14 namespace anna {
15 
16 namespace xml {
17 
21 class DTDFile : public DTD {
22 public:
23 
28  DTDFile(const char *file = NULL) { if (file) initialize(file); }
29 
30 private:
31  _xmlDtd* parse(const char* fileName) const noexcept(false);
32 };
33 
34 }
35 }
36 
37 #endif
DTDFile(const char *file=NULL)
Definition: DTDFile.hpp:28
void initialize(const char *content) noexcept(false)
Definition: DTD.hpp:56
Definition: app.hpp:12
Definition: DTDFile.hpp:21