source: XMLIO_V2/dev/dev_rv/src/manager/tree_manager.hpp @ 141

Last change on this file since 141 was 141, checked in by hozdoba, 13 years ago

Mise à jour depuis un autre dépôt

File size: 1.2 KB
Line 
1#ifndef __XMLIO_CTreeManager__
2#define __XMLIO_CTreeManager__
3
4/// xmlioserver headers ///
5#include "xmlioserver_spl.hpp"
6#include "node/node_type.hpp"
7#include "xml_parser.hpp"
8#include "indent.hpp"
9
10#undef  DECLARE_ATTRIBUTE
11#define DECLARE_ATTRIBUTE(type, name)  , type * name = NULL
12
13namespace xmlioserver
14{
15   namespace tree
16   {
17      /// ////////////////////// Déclarations ////////////////////// ///
18      class CTreeManager
19      {
20         public :
21
22            /// Mutateurs ///
23            static void SetCurrentContextId(const StdString & id);
24            static boost::shared_ptr<CContext> CreateContext(const StdString & id = StdString(""));
25
26            /// Sortie ///
27            static void PrintTreeToFile(const StdString & path);
28            static void PrintTreeToString(StdString & content);
29            static void PrintTreeToStream(StdOStream & out);
30
31            /// Parsing ///
32            static void ParseFile  (const StdString & filename);
33            static void ParseString(const StdString & xmlContent);
34            static void ParseStream(StdIStream & stream);
35
36      }; // class CTreeManager
37
38   } // namespace tree
39} // namespace xmlioserver
40
41#endif // __XMLIO_CTreeManager__
42
Note: See TracBrowser for help on using the repository browser.