Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Types | Public Member Functions | Private Attributes | List of all members
leveldb::BlockHandle Class Reference

#include <format.h>

Public Types

enum  { kMaxEncodedLength = 10 + 10 }
 

Public Member Functions

 BlockHandle ()
 
uint64_t offset () const
 
void set_offset (uint64_t offset)
 
uint64_t size () const
 
void set_size (uint64_t size)
 
void EncodeTo (std::string *dst) const
 
Status DecodeFrom (Slice *input)
 

Private Attributes

uint64_t offset_
 
uint64_t size_
 

Detailed Description

Definition at line 22 of file format.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kMaxEncodedLength 

Definition at line 38 of file format.h.

Constructor & Destructor Documentation

leveldb::BlockHandle::BlockHandle ( )
inline

Definition at line 101 of file format.h.

Member Function Documentation

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

Definition at line 23 of file format.cc.

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

Definition at line 15 of file format.cc.

uint64_t leveldb::BlockHandle::offset ( ) const
inline

Definition at line 27 of file format.h.

void leveldb::BlockHandle::set_offset ( uint64_t  offset)
inline

Definition at line 28 of file format.h.

void leveldb::BlockHandle::set_size ( uint64_t  size)
inline

Definition at line 32 of file format.h.

uint64_t leveldb::BlockHandle::size ( ) const
inline

Definition at line 31 of file format.h.

Member Data Documentation

uint64_t leveldb::BlockHandle::offset_
private

Definition at line 41 of file format.h.

uint64_t leveldb::BlockHandle::size_
private

Definition at line 42 of file format.h.


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