src/lib/INIReader.h
branchv_0
changeset 26 80e129ec3408
parent 16 b9a3c806468a
child 28 0e7c57d48d1e
equal deleted inserted replaced
25:ee70b17950bd 26:80e129ec3408
    19 #include <string>
    19 #include <string>
    20 #include <istream>
    20 #include <istream>
    21 
    21 
    22 #include "INIContentHandler.h"
    22 #include "INIContentHandler.h"
    23 
    23 
       
    24 namespace relpipe {
       
    25 namespace in {
       
    26 namespace ini {
       
    27 namespace lib {
       
    28 
    24 /**
    29 /**
    25  * TODO: Files in the src/lib directory will be moved to alt2xml and used as a shared library.
    30  * TODO: Files in the src/lib directory will be moved to alt2xml and used as a shared library.
    26  */
    31  */
    27 class INIReader {
    32 class INIReader {
    28 public:
    33 public:
    29 	virtual ~INIReader() = default;
    34 	virtual ~INIReader() = default;
    30 	virtual void addHandler(INIContentHandler* handler) = 0;
    35 	virtual void addHandler(INIContentHandler* handler) = 0;
    31 	virtual void process() = 0;
    36 	virtual void process() = 0;
    32 	static INIReader* create(std::istream& input);
    37 	static INIReader* create(std::istream& input);
    33 };
    38 };
       
    39 
       
    40 }
       
    41 }
       
    42 }
       
    43 }