![]() |
Feathercoin
0.5.0
P2P Digital Currency
|
#include <version_edit.h>
Public Member Functions | |
VersionEdit () | |
~VersionEdit () | |
void | Clear () |
void | SetComparatorName (const Slice &name) |
void | SetLogNumber (uint64_t num) |
void | SetPrevLogNumber (uint64_t num) |
void | SetNextFile (uint64_t num) |
void | SetLastSequence (SequenceNumber seq) |
void | SetCompactPointer (int level, const InternalKey &key) |
void | AddFile (int level, uint64_t file, uint64_t file_size, const InternalKey &smallest, const InternalKey &largest) |
void | DeleteFile (int level, uint64_t file) |
void | EncodeTo (std::string *dst) const |
Status | DecodeFrom (const Slice &src) |
std::string | DebugString () const |
Private Types | |
typedef std::set< std::pair < int, uint64_t > > | DeletedFileSet |
Private Attributes | |
std::string | comparator_ |
uint64_t | log_number_ |
uint64_t | prev_log_number_ |
uint64_t | next_file_number_ |
SequenceNumber | last_sequence_ |
bool | has_comparator_ |
bool | has_log_number_ |
bool | has_prev_log_number_ |
bool | has_next_file_number_ |
bool | has_last_sequence_ |
std::vector< std::pair< int, InternalKey > > | compact_pointers_ |
DeletedFileSet | deleted_files_ |
std::vector< std::pair< int, FileMetaData > > | new_files_ |
Friends | |
class | VersionSet |
Definition at line 28 of file version_edit.h.
|
private |
Definition at line 87 of file version_edit.h.
|
inline |
Definition at line 30 of file version_edit.h.
|
inline |
Definition at line 31 of file version_edit.h.
|
inline |
Definition at line 62 of file version_edit.h.
void leveldb::VersionEdit::Clear | ( | ) |
Definition at line 26 of file version_edit.cc.
std::string leveldb::VersionEdit::DebugString | ( | ) | const |
Definition at line 212 of file version_edit.cc.
Definition at line 109 of file version_edit.cc.
|
inline |
Definition at line 75 of file version_edit.h.
void leveldb::VersionEdit::EncodeTo | ( | std::string * | dst | ) | const |
Definition at line 41 of file version_edit.cc.
|
inline |
Definition at line 55 of file version_edit.h.
|
inline |
Definition at line 35 of file version_edit.h.
|
inline |
Definition at line 51 of file version_edit.h.
|
inline |
Definition at line 39 of file version_edit.h.
|
inline |
Definition at line 47 of file version_edit.h.
|
inline |
Definition at line 43 of file version_edit.h.
|
friend |
Definition at line 85 of file version_edit.h.
|
private |
Definition at line 100 of file version_edit.h.
|
private |
Definition at line 89 of file version_edit.h.
|
private |
Definition at line 101 of file version_edit.h.
|
private |
Definition at line 94 of file version_edit.h.
|
private |
Definition at line 98 of file version_edit.h.
|
private |
Definition at line 95 of file version_edit.h.
|
private |
Definition at line 97 of file version_edit.h.
|
private |
Definition at line 96 of file version_edit.h.
|
private |
Definition at line 93 of file version_edit.h.
|
private |
Definition at line 90 of file version_edit.h.
|
private |
Definition at line 102 of file version_edit.h.
|
private |
Definition at line 92 of file version_edit.h.
|
private |
Definition at line 91 of file version_edit.h.