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

#include <dbformat.h>

Inheritance diagram for leveldb::InternalKeyComparator:
Inheritance graph
[legend]
Collaboration diagram for leveldb::InternalKeyComparator:
Collaboration graph
[legend]

Public Member Functions

 InternalKeyComparator (const Comparator *c)
 
virtual const char * Name () const
 
virtual int Compare (const Slice &a, const Slice &b) const
 
virtual void FindShortestSeparator (std::string *start, const Slice &limit) const
 
virtual void FindShortSuccessor (std::string *key) const
 
const Comparatoruser_comparator () const
 
int Compare (const InternalKey &a, const InternalKey &b) const
 
- Public Member Functions inherited from leveldb::Comparator
int operator() (const Key &a, const Key &b) const
 
virtual ~Comparator ()
 

Private Attributes

const Comparatoruser_comparator_
 

Detailed Description

Definition at line 113 of file dbformat.h.

Constructor & Destructor Documentation

leveldb::InternalKeyComparator::InternalKeyComparator ( const Comparator c)
inlineexplicit

Definition at line 117 of file dbformat.h.

Member Function Documentation

int leveldb::InternalKeyComparator::Compare ( const Slice a,
const Slice b 
) const
virtual

Implements leveldb::Comparator.

Definition at line 50 of file dbformat.cc.

int leveldb::InternalKeyComparator::Compare ( const InternalKey a,
const InternalKey b 
) const
inline

Definition at line 171 of file dbformat.h.

void leveldb::InternalKeyComparator::FindShortestSeparator ( std::string *  start,
const Slice limit 
) const
virtual

Implements leveldb::Comparator.

Definition at line 68 of file dbformat.cc.

void leveldb::InternalKeyComparator::FindShortSuccessor ( std::string *  key) const
virtual

Implements leveldb::Comparator.

Definition at line 87 of file dbformat.cc.

const char * leveldb::InternalKeyComparator::Name ( ) const
virtual

Implements leveldb::Comparator.

Definition at line 46 of file dbformat.cc.

const Comparator* leveldb::InternalKeyComparator::user_comparator ( ) const
inline

Definition at line 125 of file dbformat.h.

Member Data Documentation

const Comparator* leveldb::InternalKeyComparator::user_comparator_
private

Definition at line 115 of file dbformat.h.


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