SwappedData

Wrapper for Data class, allowing an object to be swapped to disk and automatically retreived as required.

Constructors

this
this(string fileName)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

isLoaded
bool isLoaded()

Returns true if the contents is in memory.

length
size_t length()

Returns the size of the contents in bytes.

unload
void unload()

Swap out the contents.

Properties

data
Data data [@property getter]

Retrieves the contents, swapping it in if necessary.

data
Data data [@property setter]

Sets the contents.

Meta