Rewrite Book implementation
authorMarco Costalba <mcostalba@gmail.com>
Wed, 6 May 2009 12:52:12 +0000 (14:52 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 6 May 2009 18:28:17 +0000 (19:28 +0100)
commita03b8074c884086d13b80e1d291b3800a4512a3c
tree06ede5b0a6051648519a459e9f0176d608e5a96c
parentafadc33fb430abd2ba2783a62180cf971b13652f
Rewrite Book implementation

Let Book be derived directly from std::ifstream
and rewrite the functions accordingly.

Also simplify file reading by use of operator>>()

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/book.cpp
src/book.h