U-Lama\Lee | e13c3e6 | 2011-12-28 14:36:55 -0800 | [diff] [blame] | 1 | #ifndef TINYXML2_INCLUDED |
2 | #define TINYXML2_INCLUDED | ||||
3 | |||||
4 | |||||
5 | namespace tinyxml2 | ||||
6 | { | ||||
7 | |||||
8 | |||||
U-Lama\Lee | 560bd47 | 2011-12-28 19:42:49 -0800 | [diff] [blame^] | 9 | |
10 | // internal - move to separate namespace | ||||
11 | struct CharBuffer | ||||
12 | { | ||||
13 | size_t length; | ||||
14 | char mem[1]; | ||||
15 | |||||
16 | static CharBuffer* Construct( const char* in ); | ||||
17 | static void Free( CharBuffer* ); | ||||
18 | }; | ||||
19 | |||||
20 | |||||
21 | /* | ||||
U-Lama\Lee | e13c3e6 | 2011-12-28 14:36:55 -0800 | [diff] [blame] | 22 | class Element |
23 | { | ||||
24 | public: | ||||
25 | Element | ||||
26 | }; | ||||
U-Lama\Lee | 560bd47 | 2011-12-28 19:42:49 -0800 | [diff] [blame^] | 27 | */ |
28 | |||||
U-Lama\Lee | e13c3e6 | 2011-12-28 14:36:55 -0800 | [diff] [blame] | 29 | |
30 | |||||
31 | class XMLDocument | ||||
32 | { | ||||
33 | public: | ||||
34 | XMLDocument(); | ||||
35 | |||||
36 | bool Parse( const char* ); | ||||
37 | |||||
38 | private: | ||||
39 | XMLDocument( const XMLDocument& ); // not implemented | ||||
U-Lama\Lee | 560bd47 | 2011-12-28 19:42:49 -0800 | [diff] [blame^] | 40 | CharBuffer* charBuffer; |
U-Lama\Lee | e13c3e6 | 2011-12-28 14:36:55 -0800 | [diff] [blame] | 41 | }; |
42 | |||||
43 | |||||
44 | |||||
U-Lama\Lee | e13c3e6 | 2011-12-28 14:36:55 -0800 | [diff] [blame] | 45 | }; // tinyxml2 |
46 | |||||
U-Lama\Lee | 560bd47 | 2011-12-28 19:42:49 -0800 | [diff] [blame^] | 47 | |
48 | |||||
U-Lama\Lee | e13c3e6 | 2011-12-28 14:36:55 -0800 | [diff] [blame] | 49 | #endif // TINYXML2_INCLUDED |