tinyxml2.h 566 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #ifndef TINYXML2_INCLUDED
  2. #define TINYXML2_INCLUDED
  3. namespace tinyxml2
  4. {
  5. // internal - move to separate namespace
  6. struct CharBuffer
  7. {
  8. size_t length;
  9. char mem[1];
  10. static CharBuffer* Construct( const char* in );
  11. static void Free( CharBuffer* );
  12. };
  13. /*
  14. class Element
  15. {
  16. public:
  17. Element
  18. };
  19. */
  20. class XMLDocument
  21. {
  22. public:
  23. XMLDocument();
  24. bool Parse( const char* );
  25. private:
  26. XMLDocument( const XMLDocument& ); // not implemented
  27. CharBuffer* charBuffer;
  28. };
  29. }; // tinyxml2
  30. #endif // TINYXML2_INCLUDED