Sparse Virtual File System  0.4.1
A Sparse Virtual File System.
Namespaces | Classes | Typedefs | Variables
SVFS Namespace Reference

The namespace for all svfsc code. More...

Namespaces

 Exceptions
 The namespace for all Exceptions in svfsc code.
 
 Test
 The namespace for all the Test code in svfsc code.
 

Classes

struct  SparseVirtualFileConfig
 Configuration for the Sparse Virtual File. More...
 
class  SparseVirtualFile
 Implementation of a Sparse Virtual File. More...
 
class  SparseVirtualFileSystem
 A SparseVirtualFileSystem is a key/value store where the key is a file ID as a string and the value is a SparseVirtualFile. More...
 

Typedefs

typedef size_t t_fpos
 
typedef std::pair< t_fpos, size_t > t_seek_read
 
typedef std::vector< t_seek_readt_seek_reads
 
typedef uint32_t t_block_touch
 
typedef std::map< t_block_touch, t_fpost_block_touches
 
typedef struct SVFS::SparseVirtualFileConfig tSparseVirtualFileConfig
 Configuration for the Sparse Virtual File. More...
 

Variables

static const char OVERWRITE_CHAR = '0'
 Used to overwrite the memory before discarding it (if required). More...
 

Detailed Description

The namespace for all svfsc code.

Typedef Documentation

◆ t_block_touch

typedef uint32_t SVFS::t_block_touch

Counter type that increments on every data 'touch'.

Definition at line 253 of file svf.h.

◆ t_block_touches

Map of block touch (smallest is younger) to file position block.

Definition at line 255 of file svf.h.

◆ t_fpos

typedef size_t SVFS::t_fpos

Typedef for the file position.

Definition at line 247 of file svf.h.

◆ t_seek_read

typedef std::pair<t_fpos, size_t> SVFS::t_seek_read

Typedef for a seek() followed by a read() length.

Definition at line 249 of file svf.h.

◆ t_seek_reads

typedef std::vector<t_seek_read> SVFS::t_seek_reads

Typedef for a vector of (seek() followed by a read() ) lengths.

Definition at line 251 of file svf.h.

◆ tSparseVirtualFileConfig

Configuration for the Sparse Virtual File.

Variable Documentation

◆ OVERWRITE_CHAR

const char SVFS::OVERWRITE_CHAR = '0'
static

Used to overwrite the memory before discarding it (if required).

Definition at line 45 of file svf.cpp.