DABC (Data Acquisition Backbone Core)  2.9.9
Namespaces | Typedefs | Functions
XmlEngine.h File Reference
#include "dabc/string.h"

Go to the source code of this file.

Namespaces

 dabc
 Event manipulation API.
 
 dabc::Xml
 Namespace dabc::Xml contains number of functions to work with xml files.
 

Typedefs

typedef void * dabc::XMLAttrPointer_t
 
typedef void * dabc::XMLDocPointer_t
 
typedef void * dabc::XMLNodePointer_t
 
typedef void * dabc::XMLNsPointer_t
 

Functions

void dabc::Xml::AddChild (XMLNodePointer_t parent, XMLNodePointer_t child)
 
void dabc::Xml::AddChildFirst (XMLNodePointer_t parent, XMLNodePointer_t child)
 
bool dabc::Xml::AddComment (XMLNodePointer_t parent, const char *comment)
 
bool dabc::Xml::AddDocComment (XMLDocPointer_t xmldoc, const char *comment)
 
bool dabc::Xml::AddDocRawLine (XMLDocPointer_t xmldoc, const char *line)
 
bool dabc::Xml::AddDocStyleSheet (XMLDocPointer_t xmldoc, const char *href, const char *type="text/css", const char *title=nullptr, int alternate=-1, const char *media=nullptr, const char *charset=nullptr)
 
bool dabc::Xml::AddRawLine (XMLNodePointer_t parent, const char *line)
 
bool dabc::Xml::AddStyleSheet (XMLNodePointer_t parent, const char *href, const char *type="text/css", const char *title=nullptr, int alternate=-1, const char *media=nullptr, const char *charset=nullptr)
 
XMLAttrPointer_t dabc::Xml::AllocateAttr (int namelen, int valuelen, XMLNodePointer_t xmlnode)
 
XMLNodePointer_t dabc::Xml::AllocateNode (int namelen, XMLNodePointer_t parent)
 
void dabc::Xml::AssignDtd (XMLDocPointer_t xmldoc, const char *dtdname, const char *rootname)
 
void dabc::Xml::CleanNode (XMLNodePointer_t xmlnode)
 
void dabc::Xml::DisplayError (int error, int linenumber)
 
XMLNodePointer_t dabc::Xml::DocGetRootElement (XMLDocPointer_t xmldoc)
 
void dabc::Xml::DocSetRootElement (XMLDocPointer_t xmldoc, XMLNodePointer_t xmlnode)
 
XMLNsPointer_t dabc::Xml::FindNs (XMLNodePointer_t xmlnode, const char *nsname)
 
void dabc::Xml::FreeAllAttr (XMLNodePointer_t xmlnode)
 
void dabc::Xml::FreeAttr (XMLNodePointer_t xmlnode, const char *name)
 
void dabc::Xml::FreeDoc (XMLDocPointer_t xmldoc)
 
void dabc::Xml::FreeNode (XMLNodePointer_t xmlnode)
 
const char * dabc::Xml::GetAttr (XMLNodePointer_t xmlnode, const char *name)
 
const char * dabc::Xml::GetAttrName (XMLAttrPointer_t xmlattr)
 
const char * dabc::Xml::GetAttrValue (XMLAttrPointer_t xmlattr)
 
XMLNodePointer_t dabc::Xml::GetChild (XMLNodePointer_t xmlnode)
 
XMLAttrPointer_t dabc::Xml::GetFirstAttr (XMLNodePointer_t xmlnode)
 
int dabc::Xml::GetIntAttr (XMLNodePointer_t node, const char *name)
 
XMLNodePointer_t dabc::Xml::GetNext (XMLNodePointer_t xmlnode)
 
XMLAttrPointer_t dabc::Xml::GetNextAttr (XMLAttrPointer_t xmlattr)
 
const char * dabc::Xml::GetNodeContent (XMLNodePointer_t xmlnode)
 
const char * dabc::Xml::GetNodeName (XMLNodePointer_t xmlnode)
 
XMLNsPointer_t dabc::Xml::GetNS (XMLNodePointer_t xmlnode)
 
const char * dabc::Xml::GetNSName (XMLNsPointer_t ns)
 
const char * dabc::Xml::GetNSReference (XMLNsPointer_t ns)
 
XMLNodePointer_t dabc::Xml::GetParent (XMLNodePointer_t xmlnode)
 
bool dabc::Xml::HasAttr (XMLNodePointer_t xmlnode, const char *name)
 
bool dabc::Xml::IsEmptyNode (XMLNodePointer_t xmlnode)
 
char * dabc::Xml::Makenstr (const char *start, int len)
 
char * dabc::Xml::Makestr (const char *str)
 
XMLAttrPointer_t dabc::Xml::NewAttr (XMLNodePointer_t xmlnode, XMLNsPointer_t, const char *name, const char *value)
 
XMLNodePointer_t dabc::Xml::NewChild (XMLNodePointer_t parent, XMLNsPointer_t ns, const char *name, const char *content=nullptr)
 
XMLDocPointer_t dabc::Xml::NewDoc (const char *version="1.0")
 
XMLAttrPointer_t dabc::Xml::NewIntAttr (XMLNodePointer_t xmlnode, const char *name, int value)
 
XMLNsPointer_t dabc::Xml::NewNS (XMLNodePointer_t xmlnode, const char *reference, const char *name=nullptr)
 
void dabc::Xml::OutputValue (char *value, XmlOutputStream *out)
 
XMLDocPointer_t dabc::Xml::ParseFile (const char *filename, bool showerr=true)
 
XMLDocPointer_t dabc::Xml::ParseStream (XmlInputStream *input, bool showerr)
 
XMLDocPointer_t dabc::Xml::ParseString (const char *xmlstring, bool showerr=true)
 
XMLNodePointer_t dabc::Xml::ReadNode (XMLNodePointer_t xmlparent, XmlInputStream *inp, int &resvalue)
 
XMLNodePointer_t dabc::Xml::ReadSingleNode (const char *src)
 
void dabc::Xml::SaveDoc (XMLDocPointer_t xmldoc, const char *filename, int layout=1)
 
void dabc::Xml::SaveNode (XMLNodePointer_t xmlnode, XmlOutputStream *out, int layout, int level)
 
void dabc::Xml::SaveSingleNode (XMLNodePointer_t xmlnode, std::string *res, int layout=1)
 
void dabc::Xml::ShiftToNext (XMLNodePointer_t &xmlnode, bool tonode=true)
 
void dabc::Xml::SkipEmpty (XMLNodePointer_t &xmlnode)
 
void dabc::Xml::TruncateNsExtension (XMLNodePointer_t xmlnode)
 
void dabc::Xml::UnlinkFreeNode (XMLNodePointer_t xmlnode)
 
void dabc::Xml::UnlinkNode (XMLNodePointer_t node)
 
void dabc::Xml::UnpackSpecialCharacters (char *target, const char *source, int srclen)
 
bool dabc::Xml::ValidateVersion (XMLDocPointer_t doc, const char *version=nullptr)