File(const std::string &, Mode = M_READ, CreateMode = CreateMode(C_CREATE+C_TRUNCATE));
virtual ~File();
- /** Closes the file. Any attempt to access the file after this will cause
- an exception to be thrown. */
- void close();
-
void set_block(bool);
protected:
public:
virtual void sync();
- virtual unsigned seek(int, SeekType);
- virtual unsigned tell() const;
+ virtual SeekOffset seek(SeekOffset, SeekType);
+ virtual SeekOffset tell() const;
private:
void check_access(Mode) const;