src/lib/AbstractParser.h
branchv_0
changeset 9 7a6abdd00ab5
parent 3 68026fe3aaf5
child 10 6904e4448807
equal deleted inserted replaced
8:d37c1a5d09ce 9:7a6abdd00ab5
    57 	 * Finalize the parsing process.
    57 	 * Finalize the parsing process.
    58 	 * After calling this method, all data from AbstractParser buffers should be consumed, parsed and results published.
    58 	 * After calling this method, all data from AbstractParser buffers should be consumed, parsed and results published.
    59 	 * No write() call is expected after close() and would fail.
    59 	 * No write() call is expected after close() and would fail.
    60 	 * However the parser object remains valid and may be used to get some auxiliary information (if supperted by given implementation).
    60 	 * However the parser object remains valid and may be used to get some auxiliary information (if supperted by given implementation).
    61 	 */
    61 	 */
    62 	void close();
    62 	virtual void close();
    63 protected:
    63 protected:
    64 	AbstractParser();
    64 	AbstractParser();
    65 
    65 
    66 	/**
    66 	/**
    67 	 * Is thrown from read() and peak() methods if there are not enough data.
    67 	 * Is thrown from read() and peak() methods if there are not enough data.