XMLBEANSXX
0.9.8
|
#include <XmlContext.h>
Public Types | |
typedef std::vector< std::pair < std::string, StoreString > > | StoredLinks |
Public Member Functions | |
XmlContext () | |
virtual | ~XmlContext () |
virtual bool | addNamespace (const std::string &prefix, StoreString ns, bool force=true) |
void | restore () |
StoredLinks | getLastStoredLinks () |
void | remember () |
Private Attributes | |
StoredLinks | restoreLinks |
std::stack< int > | rememberedPositions |
Provides context of xml namespace links.
typedef std::vector<std::pair<std::string, StoreString> > xmlbeansxx::XmlContext::StoredLinks |
xmlbeansxx::XmlContext::~XmlContext | ( | ) | [virtual] |
bool xmlbeansxx::XmlContext::addNamespace | ( | const std::string & | prefix, |
StoreString | ns, | ||
bool | force = true |
||
) | [virtual] |
Reimplemented from xmlbeansxx::NSMap.
void xmlbeansxx::XmlContext::remember | ( | ) |
Remembers state of links.
void xmlbeansxx::XmlContext::restore | ( | ) |
Restores state of links to last remembered posittion.
std::stack<int> xmlbeansxx::XmlContext::rememberedPositions [private] |