1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-29 23:22:59 +04:00

initial thoughts

This commit is contained in:
U-Lama\Lee
2011-12-28 19:42:49 -08:00
parent e13c3e653d
commit 560bd47842
4 changed files with 49 additions and 4 deletions
+18 -2
View File
@@ -6,11 +6,26 @@ namespace tinyxml2
{
// internal - move to separate namespace
struct CharBuffer
{
size_t length;
char mem[1];
static CharBuffer* Construct( const char* in );
static void Free( CharBuffer* );
};
/*
class Element
{
public:
Element
};
*/
class XMLDocument
@@ -22,12 +37,13 @@ public:
private:
XMLDocument( const XMLDocument& ); // not implemented
CharBuffer* charBuffer;
};
}; // tinyxml2
#endif // TINYXML2_INCLUDED