Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | List of all members
eclipse::Local_io Class Reference

Represents the local disk. More...

#include <local_io.hh>

Collaboration diagram for eclipse::Local_io:
Collaboration graph

Public Member Functions

void write (const std::string &, const std::string &)
 Unbuffered write to disk. More...
 
void update (const std::string &, const std::string &, uint32_t, uint32_t)
 
std::string read (const std::string &)
 
std::string read (const std::string &, uint32_t, uint32_t)
 
std::string read (const std::string &, uint32_t, uint32_t, bool)
 
std::string read_metadata ()
 
void remove (const std::string &)
 
bool format ()
 
 Local_io ()
 

Detailed Description

Represents the local disk.

Local_io automatically computes the prefix of the path.

Constructor & Destructor Documentation

Local_io::Local_io ( )

Member Function Documentation

bool Local_io::format ( )
std::string eclipse::Local_io::read ( const std::string &  )
std::string eclipse::Local_io::read ( const std::string &  ,
uint32_t  ,
uint32_t   
)
std::string eclipse::Local_io::read ( const std::string &  ,
uint32_t  ,
uint32_t  ,
bool   
)
std::string Local_io::read_metadata ( )
void Local_io::remove ( const std::string &  k)
void Local_io::update ( const std::string &  name,
const std::string &  v,
uint32_t  pos,
uint32_t  len 
)
void Local_io::write ( const std::string &  name,
const std::string &  v 
)

Unbuffered write to disk.

No buffer

Binary write


The documentation for this class was generated from the following files: