Bitcoin
Public Types | Public Member Functions | Private Attributes | List of all members
leveldb::Footer Class Reference

#include <format.h>

Public Types

enum  { kEncodedLength = 2*BlockHandle::kMaxEncodedLength + 8 }
 

Public Member Functions

 Footer ()
 
const BlockHandlemetaindex_handle () const
 
void set_metaindex_handle (const BlockHandle &h)
 
const BlockHandleindex_handle () const
 
void set_index_handle (const BlockHandle &h)
 
void EncodeTo (std::string *dst) const
 
Status DecodeFrom (Slice *input)
 

Private Attributes

BlockHandle metaindex_handle_
 
BlockHandle index_handle_
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kEncodedLength 

Constructor & Destructor Documentation

◆ Footer()

leveldb::Footer::Footer ( )
inline

Member Function Documentation

◆ DecodeFrom()

Status leveldb::Footer::DecodeFrom ( Slice input)

◆ EncodeTo()

void leveldb::Footer::EncodeTo ( std::string *  dst) const

◆ index_handle()

const BlockHandle& leveldb::Footer::index_handle ( ) const
inline

◆ metaindex_handle()

const BlockHandle& leveldb::Footer::metaindex_handle ( ) const
inline

◆ set_index_handle()

void leveldb::Footer::set_index_handle ( const BlockHandle h)
inline

◆ set_metaindex_handle()

void leveldb::Footer::set_metaindex_handle ( const BlockHandle h)
inline

Member Data Documentation

◆ index_handle_

BlockHandle leveldb::Footer::index_handle_
private

◆ metaindex_handle_

BlockHandle leveldb::Footer::metaindex_handle_
private

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