Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Private Member Functions | Private Attributes
ArcSec::SourceURL Class Reference

Convenience class for obtaining XML document from remote URL. More...

#include <Source.h>

Inheritance diagram for ArcSec::SourceURL:
Inheritance graph
[legend]
Collaboration diagram for ArcSec::SourceURL:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SourceURL (const SourceURL &s)
 See corresponding constructor of Source class.
 SourceURL (const char *url)
 Read XML document from URL url and store it.
 SourceURL (const std::string &url)
 Read XML document from URL url and store it.
 ~SourceURL (void)
Arc::XMLNode Get (void) const
 Get reference to parsed document.
 operator bool (void)
 Returns true if valid document is available.
 operator Arc::XMLNode (void)

Private Member Functions

 SourceURL (void)

Private Attributes

Arc::URLurl

Detailed Description

Convenience class for obtaining XML document from remote URL.

Definition at line 55 of file Source.h.


Constructor & Destructor Documentation

ArcSec::SourceURL::SourceURL ( void  ) [inline, private]

Definition at line 58 of file Source.h.

:Source("") {};
ArcSec::SourceURL::SourceURL ( const SourceURL s) [inline]

See corresponding constructor of Source class.

Definition at line 61 of file Source.h.

:Source(s),url(NULL) {};
ArcSec::SourceURL::SourceURL ( const char *  url)

Read XML document from URL url and store it.

Definition at line 35 of file Source.cpp.

                                      :Source(*(url = new Arc::URL(source))) {
}
ArcSec::SourceURL::SourceURL ( const std::string &  url)

Read XML document from URL url and store it.

Definition at line 38 of file Source.cpp.

                                           :Source(*(url = new Arc::URL(source))) {
}

Definition at line 41 of file Source.cpp.

                          {
  if(url) delete url;
}

Member Function Documentation

Arc::XMLNode ArcSec::Source::Get ( void  ) const [inline, inherited]

Get reference to parsed document.

Definition at line 33 of file Source.h.

{ return node; };

Here is the caller graph for this function:

ArcSec::Source::operator Arc::XMLNode ( void  ) [inline, inherited]

Definition at line 36 of file Source.h.

{ return node; };
ArcSec::Source::operator bool ( void  ) [inline, inherited]

Returns true if valid document is available.

Definition at line 35 of file Source.h.

{ return (bool)node; };

Member Data Documentation

Definition at line 57 of file Source.h.


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