openModeller  Version 1.5.0
Configuration_xmlio.cpp File Reference
#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>
Include dependency graph for Configuration_xmlio.cpp:

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)
 

Function Documentation

void charHandler ( void *  state,
const XML_Char *  name,
int  len 
)

Definition at line 301 of file Configuration_xmlio.cpp.

References expatState::addChars().

Here is the call graph for this function:

void endElementHandler ( void *  state,
const XML_Char *  name 
)

Definition at line 290 of file Configuration_xmlio.cpp.

References expatState::finalize().

Referenced by firstStartElementHandler().

Here is the call graph for this function:

static void escapeXml ( const char *  data,
ostream &  _stream 
)
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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

static void writeXmlEndTag ( const string &  name,
ostream &  _stream 
)
static

Definition at line 63 of file Configuration_xmlio.cpp.

static void writeXmlStartTag ( const string &  name,
Configuration::attribute_list  nvlist,
bool  empty,
ostream &  _stream 
)
static

Definition at line 40 of file Configuration_xmlio.cpp.

References escapeXml().

Here is the call graph for this function: