Back to index

nordugrid-arc-nox  1.1.0~rc6
configio.h
Go to the documentation of this file.
00001 #ifndef ARCLIB_CONFIGIO
00002 #define ARCLIB_CONFIGIO
00003 
00004 #include <iostream>
00005 
00006 #include "configcore.h"
00007 
00008 
00009 namespace ARex {
00010 
00014 class ConfigIO {
00015        public:
00016               virtual ~ConfigIO() {};
00017 
00019               virtual Config Read(std::istream& is) = 0;
00020 
00022               virtual void Write(const Config& conf, std::ostream& os) = 0;
00023 };
00024 
00025 }
00026 
00027 #endif // ARCLIB_CONFIGIO