ANNA Suite  2020b
Multipurpose development suite for Telco applications
Parser.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_html_Parser_hpp
10 #define anna_html_Parser_hpp
11 
12 #include <anna/xml/Parser.hpp>
13 
14 #include <anna/html/Node.hpp>
15 
16 namespace anna {
17 
18 namespace html {
25 class Parser : public xml::Parser {
26 public:
30  Parser() { a_head = a_body = NULL; }
31 
39  const html::Node* getHead() noexcept(false);
40 
48  const html::Node* getBody() noexcept(false);
49 
50 private:
51  const html::Node* a_head;
52  const html::Node* a_body;
53 
54  void reset() { xml::Parser::reset(); a_head = a_body = NULL; }
55 
56 };
57 
58 }
59 }
60 
61 #endif
62 
63 
virtual void reset()
const html::Node * getBody() noexcept(false)
const html::Node * getHead() noexcept(false)
Definition: Node.hpp:56
Definition: Parser.hpp:63
Definition: Parser.hpp:25
Definition: app.hpp:12
Parser()
Definition: Parser.hpp:30