43 virtual unsigned long long Size(
void)
const = 0;
45 virtual unsigned long long CursorPosition(
void) const noexcept = 0;
53 virtual const
Path&
GetPath(
void) const noexcept = 0;
66 CYB_SET_ALLOCATABLE_ID(
File);
unsigned char byte
It's a byte, 8 bits, etc...
Method
The method of handling Files that already exist.
The File must not exist. It will be created.
Contains the basic File interface. Does not perform locking of any kind, be aware of possible race co...
Used for manipulating Paths. Paths will always exist either as a file or directory. Paths are '/' delimited when forming though may not be while retrieving. File names ".." will ascend a directory and '.' represents a no-op.
The File may or may not exist. It will be created if it doesn't. OpenMethod will be set to EXIST or C...
virtual const Path & GetPath(void) const noexcept=0
Get the Path indicating the current File.
The interface for streaming reads and writes.
virtual unsigned long long CursorPosition(void) const noexcept=0
Get the current position of the read/write cursor in the Stream. Equivalent of Seek(0, SeekLocation::CURSOR)
Any existing File will be overwritten and an empty file will be created.
Defines the base class for allocatable engine objects.
Template for defining the types of parameters for engine object constructors with multiple arguments...
virtual Method OpenMethod(void) const noexcept=0
Gets the opening method of the File. Will never be Method::ANY.
virtual unsigned long long Size(void) const =0
Get the current size of the File.