26 return open(path, mode, shflag,
false);
28 int open(
const std::string& path,
Mode mode,
int shflag,
bool toggle_readonly);
29 size_t write(
const void* data,
size_t element_size,
size_t nelement);
30 size_t read(
void* data,
size_t element_size,
size_t nelement);
32 int seek(int64_t offset,
int whence);
33 int tell(int64_t& offset);
38 static void removeFile(
const std::string& path);
46 void findFiles(std::set<std::string>& files)
const;
47 static void findFiles(
const Poco::Path& path, std::set<std::string>& files);
48 std::string
openMode(
const std::string& path)
const;
int tell(int64_t &offset)
int seek(int64_t offset, int whence)
size_t write(const void *data, size_t element_size, size_t nelement)
size_t countFromOffset(int64_t offset) const
Poco::Path m_top_directory
std::string fileNamefromCount(size_t count) const
void operator=(const SplitFile &)
static const size_t m_files_per_sub_dir
size_t read(void *data, size_t element_size, size_t nelement)
void findFiles(std::set< std::string > &files) const
std::string openMode(const std::string &path) const
determine flags to use for fopen/fsopen
static void removeFile(const std::string &path)
SplitFile(const SplitFile &)
int open(const std::string &path, IFile::Mode mode, int shflag)
static const size_t m_bytes_per_file
std::string getFileName() const