ANNA Suite  2020b
Multipurpose development suite for Telco applications
Resource.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_comm_Resource_hpp
10 #define anna_comm_Resource_hpp
11 
13 
14 namespace anna {
15 
16 namespace xml {
17 class Node;
18 }
19 
20 namespace comm {
21 
25 class Resource : public anna::Resource {
26 public:
32  virtual xml::Node* asXML(xml::Node* parent) const noexcept(false);
33 
38  virtual void asAttribute(xml::Node* node) const noexcept(false);
39 
40 protected:
48  Resource(const std::string& name) : anna::Resource(name) {;}
49 };
50 
51 }
52 }
53 
54 #endif
Definition: Node.hpp:56
xml::Node Node
Definition: Node.hpp:21
Definition: Resource.hpp:25
Definition: app.hpp:12
Definition: Resource.hpp:26
Resource(const std::string &name)
Definition: Resource.hpp:48