ArcSec::Source Class Reference

Acquires and parses XML document from specified source. More...

#include <Source.h>

Inheritance diagram for ArcSec::Source:
ArcSec::SourceFile ArcSec::SourceURL

Public Member Functions

 Source (const Source &s)
 Source (Arc::XMLNode xml)
 Source (std::istream &stream)
 Source (Arc::URL &url)
 Source (const std::string &str)
Arc::XMLNode Get (void) const
 operator bool (void)

Detailed Description

Acquires and parses XML document from specified source.

This class is to be used to provide easy way to specify different sources for XML Authorization Policies and Requests.


Constructor & Destructor Documentation

ArcSec::Source::Source ( const Source s  )  [inline]

Copy constructor.

Use this constructor only for temporary objects. Parsed XML document is still owned by copied source and hence lifetime of created object should not exceed that of copied one.

ArcSec::Source::Source ( Arc::XMLNode  xml  ) 

Use XML subtree refered by xml.

There is no copy of xml made. Hence lifetime of this object should not exceed that of xml.

ArcSec::Source::Source ( Arc::URL url  ) 

Fetch XML document from specified url and parse it.

This constructor is not implemented yet.


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 11:54:34 2012 for Hosting Environment (Daemon) by  doxygen 1.6.3