Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Public Attributes | List of all members
leveldb_comparator_t Struct Reference
Inheritance diagram for leveldb_comparator_t:
Inheritance graph
[legend]
Collaboration diagram for leveldb_comparator_t:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

void * state_
 
void(* destructor_ )(void *)
 
int(* compare_ )(void *, const char *a, size_t alen, const char *b, size_t blen)
 
const char *(* name_ )(void *)
 

Detailed Description

Definition at line 60 of file c.cc.

Constructor & Destructor Documentation

virtual leveldb_comparator_t::~leveldb_comparator_t ( )
inlinevirtual

Definition at line 69 of file c.cc.

Member Function Documentation

virtual int leveldb_comparator_t::Compare ( const Slice a,
const Slice b 
) const
inlinevirtual

Implements leveldb::Comparator.

Definition at line 73 of file c.cc.

virtual void leveldb_comparator_t::FindShortestSeparator ( std::string *  ,
const Slice  
) const
inlinevirtual

Implements leveldb::Comparator.

Definition at line 82 of file c.cc.

virtual void leveldb_comparator_t::FindShortSuccessor ( std::string *  key) const
inlinevirtual

Implements leveldb::Comparator.

Definition at line 83 of file c.cc.

virtual const char* leveldb_comparator_t::Name ( ) const
inlinevirtual

Implements leveldb::Comparator.

Definition at line 77 of file c.cc.

Member Data Documentation

int(* leveldb_comparator_t::compare_)(void *, const char *a, size_t alen, const char *b, size_t blen)

Definition at line 63 of file c.cc.

void(* leveldb_comparator_t::destructor_)(void *)

Definition at line 62 of file c.cc.

const char*(* leveldb_comparator_t::name_)(void *)

Definition at line 67 of file c.cc.

void* leveldb_comparator_t::state_

Definition at line 61 of file c.cc.


The documentation for this struct was generated from the following file: