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

#include <log_writer.h>

Collaboration diagram for leveldb::log::Writer:
Collaboration graph
[legend]

Public Member Functions

 Writer (WritableFile *dest)
 
 ~Writer ()
 
Status AddRecord (const Slice &slice)
 

Private Member Functions

Status EmitPhysicalRecord (RecordType type, const char *ptr, size_t length)
 
 Writer (const Writer &)
 
void operator= (const Writer &)
 

Private Attributes

WritableFiledest_
 
int block_offset_
 
uint32_t type_crc_ [kMaxRecordType+1]
 

Detailed Description

Definition at line 19 of file log_writer.h.

Constructor & Destructor Documentation

leveldb::log::Writer::Writer ( WritableFile dest)
explicit

Definition at line 15 of file log_writer.cc.

leveldb::log::Writer::~Writer ( )

Definition at line 24 of file log_writer.cc.

leveldb::log::Writer::Writer ( const Writer )
private

Member Function Documentation

Status leveldb::log::Writer::AddRecord ( const Slice slice)

Definition at line 27 of file log_writer.cc.

Status leveldb::log::Writer::EmitPhysicalRecord ( RecordType  type,
const char *  ptr,
size_t  length 
)
private

Definition at line 75 of file log_writer.cc.

void leveldb::log::Writer::operator= ( const Writer )
private

Member Data Documentation

int leveldb::log::Writer::block_offset_
private

Definition at line 31 of file log_writer.h.

WritableFile* leveldb::log::Writer::dest_
private

Definition at line 30 of file log_writer.h.

uint32_t leveldb::log::Writer::type_crc_[kMaxRecordType+1]
private

Definition at line 36 of file log_writer.h.


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