Kyoto Cabinet
Public Member Functions
kyotocabinet::BasicDB::FileProcessor Class Reference

Interface to process the database file. More...

#include <kcdb.h>

List of all members.

Public Member Functions

virtual ~FileProcessor ()
 Destructor.
virtual bool process (const std::string &path, int64_t count, int64_t size)=0
 Process the database file.

Detailed Description

Interface to process the database file.


Constructor & Destructor Documentation

Destructor.


Member Function Documentation

virtual bool kyotocabinet::BasicDB::FileProcessor::process ( const std::string &  path,
int64_t  count,
int64_t  size 
) [pure virtual]

Process the database file.

Parameters:
paththe path of the database file.
countthe number of records. A negative value means omission.
sizethe size of the available region. A negative value means omission.
Returns:
true on success, or false on failure.