Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions
ARex::ConfigIO Class Reference

Virtual base-class for reading and writing configuration files. More...

#include <configio.h>

Inheritance diagram for ARex::ConfigIO:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~ConfigIO ()
virtual Config Read (std::istream &is)=0
 Read the named configuration source.
virtual void Write (const Config &conf, std::ostream &os)=0
 Write configuration to named configuration destination.

Detailed Description

Virtual base-class for reading and writing configuration files.

Concrete instances include NGConfig and XMLConfig.

Definition at line 14 of file configio.h.


Constructor & Destructor Documentation

virtual ARex::ConfigIO::~ConfigIO ( ) [inline, virtual]

Definition at line 16 of file configio.h.

{};

Member Function Documentation

virtual Config ARex::ConfigIO::Read ( std::istream &  is) [pure virtual]

Read the named configuration source.

Implemented in ARex::XMLConfig, and ARex::NGConfig.

virtual void ARex::ConfigIO::Write ( const Config conf,
std::ostream &  os 
) [pure virtual]

Write configuration to named configuration destination.

Implemented in ARex::XMLConfig, and ARex::NGConfig.


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