openModeller
Version 1.5.0
|
#include <openmodeller/Configuration.hh>
#include <openmodeller/Exceptions.hh>
#include <openmodeller/Log.hh>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <memory>
#include <expat.h>
Go to the source code of this file.
Classes | |
class | expatState |
class | ExpatAutoPtr |
Functions | |
static void | escapeXml (const char *data, ostream &_stream) |
static void | writeXmlStartTag (const string &name, Configuration::attribute_list nvlist, bool empty, ostream &_stream) |
static void | writeXmlEndTag (const string &name, ostream &_stream) |
void | endElementHandler (void *, const XML_Char *) |
void | startElementHandler (void *state, const XML_Char *name, const XML_Char **atts) |
void | firstStartElementHandler (void *state, const XML_Char *name, const XML_Char **atts) |
void | charHandler (void *state, const XML_Char *name, int len) |
void charHandler | ( | void * | state, |
const XML_Char * | name, | ||
int | len | ||
) |
Definition at line 301 of file Configuration_xmlio.cpp.
References expatState::addChars().
void endElementHandler | ( | void * | state, |
const XML_Char * | name | ||
) |
Definition at line 290 of file Configuration_xmlio.cpp.
References expatState::finalize().
Referenced by firstStartElementHandler().
|
static |
Definition at line 25 of file Configuration_xmlio.cpp.
Referenced by writeXmlStartTag().
void firstStartElementHandler | ( | void * | state, |
const XML_Char * | name, | ||
const XML_Char ** | atts | ||
) |
Definition at line 261 of file Configuration_xmlio.cpp.
References endElementHandler(), expatState::setAttributes(), expatState::setName(), and startElementHandler().
void startElementHandler | ( | void * | state, |
const XML_Char * | name, | ||
const XML_Char ** | atts | ||
) |
Definition at line 275 of file Configuration_xmlio.cpp.
References expatState::makeChild().
Referenced by firstStartElementHandler().
|
static |
Definition at line 63 of file Configuration_xmlio.cpp.
|
static |
Definition at line 40 of file Configuration_xmlio.cpp.
References escapeXml().