Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

parse.cpp File Reference

#include "parse.hpp"
#include <iostream>
#include <fstream>
#include "expat-1.95.5/lib/expat.h"
#include "boost/lexical_cast.hpp"
#include "boost/format.hpp"

Go to the source code of this file.

Defines

#define PERSIST_IN_LIBRARY_SOURCE
#define PROGRESS_UNIT   512
#define BUFFER_SIZE   1024

Variables

const char XMLFmt_error [] = "file: %s %s at line %d"
const char XMLFmt_expected [] = "expected %s=\"string\""
const char XMLErr_mismatched_end_tag [] = "mismatched end element tag."
const char kEscapeChar = '\\'
const xmlstring kXMLShortHeader = S("<?xml version=\"1.0\"")
const xmlstring kXMLLongHeader = S("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>")


Define Documentation

#define PERSIST_IN_LIBRARY_SOURCE
 

Definition at line 11 of file parse.cpp.

#define PROGRESS_UNIT   512
 

Definition at line 29 of file parse.cpp.

Referenced by ph::persist::xml::parse::parse_xml().

#define BUFFER_SIZE   1024
 

Definition at line 30 of file parse.cpp.

Referenced by ph::persist::xml::parse::parse_xml(), and ph::persist::xml::parse::parsestream().


Variable Documentation

const char XMLFmt_error[] = "file: %s %s at line %d"
 

Definition at line 23 of file parse.cpp.

Referenced by ph::persist::xml::parse::error().

const char XMLFmt_expected[] = "expected %s=\"string\""
 

Definition at line 24 of file parse.cpp.

Referenced by ph::persist::xml::parse::expected_error().

const char XMLErr_mismatched_end_tag[] = "mismatched end element tag."
 

Definition at line 27 of file parse.cpp.

const char kEscapeChar = '\\'
 

Definition at line 302 of file parse.cpp.

char c
 

Definition at line 305 of file parse.cpp.

Referenced by ph::persist::xml::parse::decodexmldata(), persist_test::test_base::dotest(), ph::persist::xml::parse::encodexmldata(), persist_test::test_baddata::test(), persist_test::test_dumper::test(), and reflect_test::test_composite::test().

const char* s
 

Definition at line 305 of file parse.cpp.

const xmlstring kXMLShortHeader = S("<?xml version=\"1.0\"")
 

Definition at line 315 of file parse.cpp.

const xmlstring kXMLLongHeader = S("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>")
 

Definition at line 316 of file parse.cpp.


Generated on Wed Apr 5 22:03:29 2006 for cppxmlobj by  doxygen 1.4.3