f67611c3e704aea6d524750b481c3dd22396133f
[anna.git] / include / anna / xml / DocumentMemory.hpp
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_DocumentMemory_hpp
10 #define anna_xml_DocumentMemory_hpp
11
12 #include <anna/xml/Document.hpp>
13
14 namespace anna {
15
16 namespace xml {
17
18 /**
19    Clase para gestionar un documento XML contenido en un buffer Cstring.
20 */
21 class DocumentMemory : public Document {
22 public:
23   /**
24      Constructor.
25   */
26   DocumentMemory() {;}
27
28 private:
29   virtual _xmlDoc* do_initialize(const char* content) throw(RuntimeException);
30   virtual _xmlDoc* do_initialize(const anna::DataBlock& content) throw(RuntimeException);
31 };
32
33 }
34 }
35
36 #endif