src/lib/INIReader.h
branchv_0
changeset 16 db994a2ddffa
parent 2 f031a4dc7c52
child 23 b497140b0b63
equal deleted inserted replaced
15:0cf8bcb9c8fc 16:db994a2ddffa
    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 }