Back to index

nordugrid-arc-nox  1.1.0~rc6
Namespaces | Functions
XMLNode.cpp File Reference
#include <iostream>
#include <fstream>
#include <cstring>
#include "XMLNode.h"
#include <libxml/xmlschemas.h>

Go to the source code of this file.

Namespaces

namespace  Arc
 ARCJSDLParser The ARCJSDLParser class, derived from the JobDescriptionParser class, is primarily a job description parser for the consolidated job description language (ARCJSDL), derived from JSDL, described in the following document http://svn.nordugrid.org/trac/nordugrid/browser/arc1/trunk/doc/tech_doc/client/job_description.odt.

Functions

static xmlNsPtr Arc::GetNamespace (xmlNodePtr node)
static bool Arc::MatchXMLName (xmlNodePtr node1, xmlNodePtr node2)
static bool Arc::MatchXMLName (xmlNodePtr node, const char *name)
static bool Arc::MatchXMLNamespace (xmlNodePtr node1, xmlNodePtr node2)
static bool Arc::MatchXMLNamespace (xmlNodePtr node, const char *uri)
bool Arc::MatchXMLName (const XMLNode &node1, const XMLNode &node2)
 Returns true if underlying XML elements have same names.
bool Arc::MatchXMLName (const XMLNode &node, const char *name)
 Returns true if 'name' matches name of 'node'.
bool Arc::MatchXMLName (const XMLNode &node, const std::string &name)
 Returns true if 'name' matches name of 'node'.
bool Arc::MatchXMLNamespace (const XMLNode &node1, const XMLNode &node2)
 Returns true if underlying XML elements belong to same namespaces.
bool Arc::MatchXMLNamespace (const XMLNode &node, const char *uri)
 Returns true if 'namespace' matches 'node's namespace.
bool Arc::MatchXMLNamespace (const XMLNode &node, const std::string &uri)
 Returns true if 'namespace' matches 'node's namespace.
static void Arc::ReplaceNamespace (xmlNsPtr ns, xmlNodePtr node, xmlNsPtr new_ns)
static void Arc::ReassignNamespace (xmlNsPtr ns, xmlNodePtr node, bool keep=false, int recursion=-1)
static void Arc::SetNamespaces (const NS &namespaces, xmlNodePtr node_, bool keep=false, int recursion=-1)
static void Arc::GetNamespaces (NS &namespaces, xmlNodePtr node_)
static int Arc::write_to_string (void *context, const char *buffer, int len)
static int Arc::close_string (void *context)
std::ostream & Arc::operator<< (std::ostream &out, const XMLNode &node)
std::istream & Arc::operator>> (std::istream &in, XMLNode &node)