载入中...
搜索中...
未找到
File.h
浏览该文件的文档.
A File interface, providing generic means of reading from and writing to files.
Definition File.h:14
virtual FileData * read(int64_t size=ALL)
Reads data from the file and allocates a Data object.
Definition File.cpp:9
virtual bool write(const void *data, int64_t size)=0
Writes data into the File.
File which is created when a user drags and drops an actual file onto the eve game....
Definition File.h:16
int64_t read(void *dst, int64_t size) override
Reads data into the destination buffer.
Definition File.cpp:100
bool write(const void *data, int64_t size) override
Writes data into the File.
Definition File.cpp:110
bool setBuffer(std::string bufmode, int64_t size) override
Sets the buffering mode for the file. When buffering is enabled,
Definition File.cpp:148
bool flush() override
Flushes the currently buffered file data to disk. Only applicable in write mode.
Definition File.cpp:120
std::string getFilename() const override
Gets the filename for this File, or empty string if none.
Definition File.cpp:179
std::string getBuffer(int64_t &size) const override
Definition File.cpp:174
Definition Build.cpp:11