Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Classes | Public Member Functions | Private Attributes | List of all members
leveldb::ModelDB Class Reference
Inheritance diagram for leveldb::ModelDB:
Inheritance graph
[legend]
Collaboration diagram for leveldb::ModelDB:
Collaboration graph
[legend]

Classes

class  ModelIter
 
class  ModelSnapshot
 

Public Member Functions

 ModelDB (const Options &options)
 
 ~ModelDB ()
 
virtual Status Put (const WriteOptions &o, const Slice &k, const Slice &v)
 
virtual Status Delete (const WriteOptions &o, const Slice &key)
 
virtual Status Get (const ReadOptions &options, const Slice &key, std::string *value)
 
virtual IteratorNewIterator (const ReadOptions &options)
 
virtual const SnapshotGetSnapshot ()
 
virtual void ReleaseSnapshot (const Snapshot *snapshot)
 
virtual Status Write (const WriteOptions &options, WriteBatch *batch)
 
virtual bool GetProperty (const Slice &property, std::string *value)
 
virtual void GetApproximateSizes (const Range *r, int n, uint64_t *sizes)
 
virtual void CompactRange (const Slice *start, const Slice *end)
 
- Public Member Functions inherited from leveldb::DB
 DB ()
 
virtual ~DB ()
 

Private Attributes

const Options options_
 
KVMap map_
 

Additional Inherited Members

- Static Public Member Functions inherited from leveldb::DB
static Status Open (const Options &options, const std::string &name, DB **dbptr)
 

Detailed Description

Definition at line 1795 of file db_test.cc.

Constructor & Destructor Documentation

leveldb::ModelDB::ModelDB ( const Options options)
inlineexplicit

Definition at line 1802 of file db_test.cc.

leveldb::ModelDB::~ModelDB ( )
inline

Definition at line 1803 of file db_test.cc.

Member Function Documentation

virtual void leveldb::ModelDB::CompactRange ( const Slice start,
const Slice end 
)
inlinevirtual

Implements leveldb::DB.

Definition at line 1859 of file db_test.cc.

virtual Status leveldb::ModelDB::Delete ( const WriteOptions o,
const Slice key 
)
inlinevirtual

Implements leveldb::DB.

Definition at line 1807 of file db_test.cc.

virtual Status leveldb::ModelDB::Get ( const ReadOptions options,
const Slice key,
std::string *  value 
)
inlinevirtual

Implements leveldb::DB.

Definition at line 1810 of file db_test.cc.

virtual void leveldb::ModelDB::GetApproximateSizes ( const Range r,
int  n,
uint64_t sizes 
)
inlinevirtual

Implements leveldb::DB.

Definition at line 1854 of file db_test.cc.

virtual bool leveldb::ModelDB::GetProperty ( const Slice property,
std::string *  value 
)
inlinevirtual

Implements leveldb::DB.

Definition at line 1851 of file db_test.cc.

virtual const Snapshot* leveldb::ModelDB::GetSnapshot ( )
inlinevirtual

Implements leveldb::DB.

Definition at line 1826 of file db_test.cc.

virtual Iterator* leveldb::ModelDB::NewIterator ( const ReadOptions options)
inlinevirtual

Implements leveldb::DB.

Definition at line 1815 of file db_test.cc.

virtual Status leveldb::ModelDB::Put ( const WriteOptions o,
const Slice k,
const Slice v 
)
inlinevirtual

Implements leveldb::DB.

Definition at line 1804 of file db_test.cc.

virtual void leveldb::ModelDB::ReleaseSnapshot ( const Snapshot snapshot)
inlinevirtual

Implements leveldb::DB.

Definition at line 1832 of file db_test.cc.

virtual Status leveldb::ModelDB::Write ( const WriteOptions options,
WriteBatch batch 
)
inlinevirtual

Implements leveldb::DB.

Definition at line 1835 of file db_test.cc.

Member Data Documentation

KVMap leveldb::ModelDB::map_
private

Definition at line 1894 of file db_test.cc.

const Options leveldb::ModelDB::options_
private

Definition at line 1893 of file db_test.cc.


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