24 #ifndef _TPIE_FILE_ACCESSOR_WIN32_H
25 #define _TPIE_FILE_ACCESSOR_WIN32_H
27 #include <tpie/config.h>
35 namespace file_accessor {
48 inline ~
win32() {close_i();}
50 inline void open_wo(
const std::string & path);
51 inline void open_ro(
const std::string & path);
52 inline bool try_open_rw(
const std::string & path);
53 inline void open_rw_new(
const std::string & path);
55 inline void read_i(
void * data, memory_size_type size);
56 inline void write_i(
const void * data, memory_size_type size);
57 inline void seek_i(stream_size_type offset);
58 inline void close_i();
59 inline void truncate_i(stream_size_type bytes);
60 inline bool is_open()
const;
62 inline void set_cache_hint(
cache_hint cacheHint);
68 #include <tpie/file_accessor/win32.inl>
70 #endif //_TPIE_FILE_ACCESSOR_WIN32_H
Reads and writes stream headers, user data and blocks from TPIE streams.