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

Classes

struct  BySmallestKey
 
struct  LevelState
 

Public Member Functions

 Builder (VersionSet *vset, Version *base)
 
 ~Builder ()
 
void Apply (VersionEdit *edit)
 
void SaveTo (Version *v)
 
void MaybeAddFile (Version *v, int level, FileMetaData *f)
 

Private Types

typedef std::set< FileMetaData
*, BySmallestKey
FileSet
 

Private Attributes

VersionSetvset_
 
Versionbase_
 
LevelState levels_ [config::kNumLevels]
 

Detailed Description

Definition at line 608 of file version_set.cc.

Member Typedef Documentation

Definition at line 625 of file version_set.cc.

Constructor & Destructor Documentation

leveldb::VersionSet::Builder::Builder ( VersionSet vset,
Version base 
)
inline

Definition at line 637 of file version_set.cc.

leveldb::VersionSet::Builder::~Builder ( )
inline

Definition at line 648 of file version_set.cc.

Member Function Documentation

void leveldb::VersionSet::Builder::Apply ( VersionEdit edit)
inline

Definition at line 670 of file version_set.cc.

void leveldb::VersionSet::Builder::MaybeAddFile ( Version v,
int  level,
FileMetaData f 
)
inline

Definition at line 764 of file version_set.cc.

void leveldb::VersionSet::Builder::SaveTo ( Version v)
inline

Definition at line 716 of file version_set.cc.

Member Data Documentation

Version* leveldb::VersionSet::Builder::base_
private

Definition at line 632 of file version_set.cc.

LevelState leveldb::VersionSet::Builder::levels_[config::kNumLevels]
private

Definition at line 633 of file version_set.cc.

VersionSet* leveldb::VersionSet::Builder::vset_
private

Definition at line 631 of file version_set.cc.


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