32 #ifndef DiskFile_INCLUDE_ONCE 33 #define DiskFile_INCLUDE_ONCE 38 #if defined(VL_PLATFORM_LINUX) || defined(VL_PLATFORM_MACOSX) 39 #include <sys/types.h> 82 virtual bool isOpen()
const;
87 virtual long long size()
const;
89 virtual bool exists()
const;
96 virtual long long read_Implementation(
void* buffer,
long long byte_count);
98 virtual long long write_Implementation(
const void* buffer,
long long byte_count);
100 virtual long long position_Implementation()
const;
102 virtual bool seekSet_Implementation(
long long offset);
105 #if defined(VL_PLATFORM_WINDOWS)
An abstract class representing a file.
The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine.
A VirtualDirectory that operates on reguar disk directories.
#define VL_INSTRUMENT_CLASS(ClassName, BaseClass)
DiskFile & operator=(const DiskFile &other)
Visualization Library main namespace.
A VirtualFile that operates on regular disk files.
The ref<> class is used to reference-count an Object.