Arc::InformationContainer Class Reference

Information System document container and processor. More...

#include <InformationInterface.h>

Inheritance diagram for Arc::InformationContainer:
Arc::InformationInterface

Public Member Functions

 InformationContainer (XMLNode doc, bool copy=false)
XMLNode Acquire (void)
void Assign (XMLNode doc, bool copy=false)

Protected Member Functions

virtual void Get (const std::list< std::string > &path, XMLNodeContainer &result)

Protected Attributes

XMLNode doc_

Detailed Description

Information System document container and processor.

This class inherits form InformationInterface and offers container for storing informational XML document.


Constructor & Destructor Documentation

Arc::InformationContainer::InformationContainer ( XMLNode  doc,
bool  copy = false 
)

Creates an instance with XML document . If is true this method makes a copy of for internal use.


Member Function Documentation

XMLNode Arc::InformationContainer::Acquire ( void   ) 

Get a lock on contained XML document. To be used in multi-threaded environment. Do not forget to release it with Release()

void Arc::InformationContainer::Assign ( XMLNode  doc,
bool  copy = false 
)

Replaces internal XML document with . If is true this method makes a copy of for internal use.

virtual void Arc::InformationContainer::Get ( const std::list< std::string > &  path,
XMLNodeContainer result 
) [protected, virtual]

This method is called by this object's Process method. Real implementation of this class should return (sub)tree of XML document. This method may be called multiple times per single Process call. Here is a set on XML element names specifying how to reach requested node(s).

Reimplemented from Arc::InformationInterface.


Field Documentation

Either link or container of XML document


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