Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Public Attributes
Arc::NS Class Reference

#include <XMLNode.h>

Inheritance diagram for Arc::NS:
Inheritance graph
[legend]
Collaboration diagram for Arc::NS:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NS (void)
 Constructor creates empty namespace.
 NS (const char *prefix, const char *uri)
 Constructor creates namespace with one entry.
 NS (const char *nslist[][2])
 Constructor creates namespace with multiple entries.
 NS (const std::map< std::string, std::string > &nslist)

Public Attributes

keys
 STL member.
T elements
 STL member.

Detailed Description

Definition at line 23 of file XMLNode.h.


Constructor & Destructor Documentation

Arc::NS::NS ( void  ) [inline]

Constructor creates empty namespace.

Definition at line 27 of file XMLNode.h.

{}
Arc::NS::NS ( const char *  prefix,
const char *  uri 
) [inline]

Constructor creates namespace with one entry.

Definition at line 29 of file XMLNode.h.

                                            {
      operator[](prefix) = uri;
    }
Arc::NS::NS ( const char *  nslist[][2]) [inline]

Constructor creates namespace with multiple entries.

Definition at line 34 of file XMLNode.h.

                                {
      for (int n = 0; nslist[n][0]; ++n)
        operator[](nslist[n][0]) = nslist[n][1];
    }
Arc::NS::NS ( const std::map< std::string, std::string > &  nslist) [inline]

Definition at line 38 of file XMLNode.h.

      : std::map<std::string, std::string>(nslist) {}

Member Data Documentation

template<typename K, typename T>
T std::map< K, T >::elements [inherited]

STL member.

template<typename K, typename T>
K std::map< K, T >::keys [inherited]

STL member.


The documentation for this class was generated from the following file: