#include <windows.h>#include <tchar.h>#include <malloc.h>#include <fstream>#include <sstream>#include <string>#include <stack>#include <list>#include <map>


Go to the source code of this file.
Namespaces | |
| namespace | XMLStorage |
Data Structures | |
| struct | XMLStorage::XS_String |
| string class for TCHAR strings More... | |
| struct | XMLStorage::FileHolder |
| struct | XMLStorage::tifstream |
| input file stream with ANSI/UNICODE file names More... | |
| struct | XMLStorage::tofstream |
| output file stream with ANSI/UNICODE file names More... | |
| struct | XMLStorage::XMLError |
| XML Error with message and location. More... | |
| struct | XMLStorage::XMLErrorList |
| struct | XMLStorage::StyleSheet |
| struct | XMLStorage::StyleSheetList |
| struct | XMLStorage::DocType |
| struct | XMLStorage::XMLFormat |
| Management of XML file headers and formating. More... | |
| struct | XMLStorage::XMLNode |
| in memory representation of an XML node More... | |
| struct | XMLStorage::XMLNode::AttributeMap |
| struct | XMLStorage::XMLNode::Children |
| internal children node list More... | |
| struct | XMLStorage::XMLChildrenFilter |
| iterator access to children nodes with name filtering More... | |
| struct | XMLStorage::XMLChildrenFilter::iterator |
| internal iterator class More... | |
| struct | XMLStorage::const_XMLChildrenFilter |
| read only iterator access to children nodes with name filtering More... | |
| struct | XMLStorage::const_XMLChildrenFilter::const_iterator |
| internal iterator class More... | |
| struct | XMLStorage::XMLPos |
| iterator for XML trees More... | |
| struct | XMLStorage::const_XMLPos |
| iterator for XML trees More... | |
| struct | XMLStorage::XMLBool |
| type converter for boolean data More... | |
| struct | XMLStorage::XMLBoolRef |
| type converter for boolean data with write access More... | |
| struct | XMLStorage::XMLInt |
| type converter for integer data More... | |
| struct | XMLStorage::XMLIntRef |
| type converter for integer data with write access More... | |
| struct | XMLStorage::XMLDouble |
| type converter for numeric data More... | |
| struct | XMLStorage::XMLDoubleRef |
| type converter for numeric data with write access More... | |
| struct | XMLStorage::XMLString |
| type converter for string data More... | |
| struct | XMLStorage::XMStringRef |
| type converter for string data with write access More... | |
| struct | XMLStorage::XMLReaderBase |
| XML reader base class. More... | |
| struct | XMLStorage::XMLReader |
| XML file reader. More... | |
| struct | XMLStorage::XMLDoc |
| XML document holder. More... | |
| struct | XMLStorage::XMLMessage |
| XML message wrapper. More... | |
| struct | XMLStorage::XMLMessageFromString |
| struct | XMLStorage::XMLMessageReader |
| Reader for XML Messages. More... | |
| struct | XMLStorage::XMLWriter |
| struct | XMLStorage::XMLWriter::StackEntry |
Defines | |
| #define | BUFFER_LEN 2048 |
| #define | XS_CHAR TCHAR |
| #define | XS_TEXT(x) TEXT(x) |
| #define | LPXSSTR LPTSTR |
| #define | LPCXSSTR LPCTSTR |
| #define | XS_cmp _tcscmp |
| #define | XS_icmp _tcsicmp |
| #define | XS_ncmp _tcsncmp |
| #define | XS_nicmp _tcsnicmp |
| #define | XS_toi _ttoi |
| #define | XS_tod _tcstod |
| #define | XS_len _tcslen |
| #define | XS_snprintf _sntprintf |
| #define | XS_vsnprintf _vsntprintf |
| #define | XS_strstr _tcsstr |
| #define | COUNTOF(b) (sizeof(b)/sizeof(b[0])) |
| #define | XS_EMPTY_STR XS_TEXT("") |
| #define | XS_TRUE_STR XS_TEXT("true") |
| #define | XS_FALSE_STR XS_TEXT("false") |
| #define | XS_INTFMT_STR XS_TEXT("%d") |
| #define | XS_FLOATFMT_STR XS_TEXT("%f") |
| #define | XS_EMPTY XS_EMPTY_STR |
| #define | XS_TRUE XS_TRUE_STR |
| #define | XS_FALSE XS_FALSE_STR |
| #define | XS_INTFMT XS_INTFMT_STR |
| #define | XS_FLOATFMT XS_FLOATFMT_STR |
| #define | XML_INDENT_SPACE " " |
| #define | _XMLSTORAGE_H |
Typedefs | |
| typedef std::filebuf | XMLStorage::STDIO_FILEBUF |
Enumerations | |
| enum | XMLStorage::PRETTY_FLAGS { XMLStorage::PRETTY_PLAIN = 0, XMLStorage::PRETTY_LINEFEED = 1, XMLStorage::PRETTY_INDENT = 2 } |
| enum | XMLStorage::WRITE_MODE { XMLStorage::FORMAT_PLAIN, XMLStorage::FORMAT_SMART, XMLStorage::FORMAT_ORIGINAL, XMLStorage::FORMAT_PRETTY } |
Functions | |
| int | XMLStorage::isxmlsym (unsigned char c) |
| void | XMLStorage::assign_utf8 (XS_String &s, const char *str, int lutf8) |
| void | XMLStorage::assign_utf8 (XS_String &s, const char *str) |
| std::string | XMLStorage::get_utf8 (LPCTSTR s, size_t l) |
| std::string | XMLStorage::get_utf8 (const XS_String &s) |
| std::string | XMLStorage::EncodeXMLString (const XS_String &str) |
| XS_String | XMLStorage::DecodeXMLString (const XS_String &str) |
| template<typename T> | |
| void | XMLStorage::read_option (T &var, const_XMLPos &cfg, LPCXSSTR key) |
| template<> | |
| void | XMLStorage::read_option (int &var, const_XMLPos &cfg, LPCXSSTR key) |
| #define _XMLSTORAGE_H |
Definition at line 2475 of file xmlstorage.h.
| #define BUFFER_LEN 2048 |
Definition at line 155 of file xmlstorage.h.
| #define COUNTOF | ( | b | ) | (sizeof(b)/sizeof(b[0])) |
Definition at line 200 of file xmlstorage.h.
| #define LPCXSSTR LPCTSTR |
Definition at line 183 of file xmlstorage.h.
| #define LPXSSTR LPTSTR |
Definition at line 182 of file xmlstorage.h.
| #define XML_INDENT_SPACE " " |
Definition at line 491 of file xmlstorage.h.
Referenced by XMLStorage::XMLWriter::write_post(), and XMLStorage::XMLWriter::write_pre().
| #define XS_CHAR TCHAR |
Definition at line 180 of file xmlstorage.h.
Referenced by XMLStorage::XS_String::appendf(), XMLStorage::XMLDoubleRef::assign(), XMLStorage::XMLIntRef::assign(), XMLStorage::XMLDouble::operator XS_String(), XMLStorage::XMLInt::operator XS_String(), XMLStorage::XS_String::printf(), XMLStorage::XS_String::vappendf(), and XMLStorage::XS_String::vprintf().
| #define XS_cmp _tcscmp |
Definition at line 184 of file xmlstorage.h.
| #define XS_EMPTY XS_EMPTY_STR |
Definition at line 339 of file xmlstorage.h.
| #define XS_EMPTY_STR XS_TEXT("") |
Definition at line 325 of file xmlstorage.h.
| #define XS_FALSE XS_FALSE_STR |
Definition at line 341 of file xmlstorage.h.
Referenced by XMLStorage::XMLBoolRef::assign(), and XMLStorage::XMLBool::operator LPCXSSTR().
| #define XS_FALSE_STR XS_TEXT("false") |
Definition at line 327 of file xmlstorage.h.
| #define XS_FLOATFMT XS_FLOATFMT_STR |
Definition at line 343 of file xmlstorage.h.
Referenced by XMLStorage::XMLDoubleRef::assign(), and XMLStorage::XMLDouble::operator XS_String().
| #define XS_FLOATFMT_STR XS_TEXT("%f") |
Definition at line 329 of file xmlstorage.h.
| #define XS_icmp _tcsicmp |
Definition at line 185 of file xmlstorage.h.
Referenced by XMLStorage::XMLBoolRef::operator bool(), XMLStorage::XMLBoolRef::operator!(), and XMLStorage::XMLBool::XMLBool().
| #define XS_INTFMT XS_INTFMT_STR |
Definition at line 342 of file xmlstorage.h.
Referenced by XMLStorage::XMLIntRef::assign(), and XMLStorage::XMLInt::operator XS_String().
| #define XS_INTFMT_STR XS_TEXT("%d") |
Definition at line 328 of file xmlstorage.h.
| #define XS_len _tcslen |
Definition at line 190 of file xmlstorage.h.
| #define XS_ncmp _tcsncmp |
Definition at line 186 of file xmlstorage.h.
| #define XS_nicmp _tcsnicmp |
Definition at line 187 of file xmlstorage.h.
| #define XS_snprintf _sntprintf |
Definition at line 191 of file xmlstorage.h.
Referenced by XMLStorage::XMLDoubleRef::assign(), XMLStorage::XMLIntRef::assign(), XMLStorage::XMLDouble::operator XS_String(), and XMLStorage::XMLInt::operator XS_String().
| #define XS_strstr _tcsstr |
Definition at line 193 of file xmlstorage.h.
| #define XS_TEXT | ( | x | ) | TEXT(x) |
Definition at line 181 of file xmlstorage.h.
| #define XS_tod _tcstod |
Definition at line 189 of file xmlstorage.h.
Referenced by XMLStorage::XMLDoubleRef::operator double(), and XMLStorage::XMLDouble::XMLDouble().
| #define XS_toi _ttoi |
Definition at line 188 of file xmlstorage.h.
Referenced by XMLStorage::XMLIntRef::operator int(), XMLStorage::read_option(), and XMLStorage::XMLInt::XMLInt().
| #define XS_TRUE XS_TRUE_STR |
Definition at line 340 of file xmlstorage.h.
Referenced by XMLStorage::XMLBoolRef::assign(), XMLStorage::XMLBoolRef::operator bool(), XMLStorage::XMLBool::operator LPCXSSTR(), XMLStorage::XMLBoolRef::operator!(), and XMLStorage::XMLBool::XMLBool().
| #define XS_TRUE_STR XS_TEXT("true") |
Definition at line 326 of file xmlstorage.h.
| #define XS_vsnprintf _vsntprintf |
Definition at line 192 of file xmlstorage.h.
Referenced by XMLStorage::XS_String::appendf(), XMLStorage::XS_String::printf(), XMLStorage::XS_String::vappendf(), and XMLStorage::XS_String::vprintf().
|
IBrowser Source Code Documentation
generated on 18.09.2008 by
|