20 size_t len = file.
Length();
25 char *input =
new char[len+1];
27 file.
Read(input, len);
36 TiXmlDocument* doc =
new TiXmlDocument();
51 printer.SetIndent(
"\t");
52 doc->Accept(&printer);
static Manager * Get()
Use Manager::Get() to get a pointer to its instance Manager::Get() is guaranteed to never return an i...
wxFileOffset Length() const
FileManager * GetFileManager() const
bool LoadDocument(const wxString &filename, TiXmlDocument *doc)
static bool Access(const wxString &name, wxFile::OpenMode mode)
ssize_t Read(void *buffer, size_t count)
bool SaveUTF8(const wxString &file, const char *data, size_t len)
bool SaveDocument(const wxString &, TiXmlDocument *)