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::StringSource Class Reference
Inheritance diagram for leveldb::StringSource:
Inheritance graph
[legend]
Collaboration diagram for leveldb::StringSource:
Collaboration graph
[legend]

Public Member Functions

 StringSource (const Slice &contents)
 
virtual ~StringSource ()
 
uint64_t Size () const
 
virtual Status Read (uint64_t offset, size_t n, Slice *result, char *scratch) const
 
- Public Member Functions inherited from leveldb::RandomAccessFile
 RandomAccessFile ()
 
virtual ~RandomAccessFile ()
 

Private Attributes

std::string contents_
 

Detailed Description

Definition at line 110 of file table_test.cc.

Constructor & Destructor Documentation

leveldb::StringSource::StringSource ( const Slice contents)
inline

Definition at line 112 of file table_test.cc.

virtual leveldb::StringSource::~StringSource ( )
inlinevirtual

Definition at line 116 of file table_test.cc.

Member Function Documentation

virtual Status leveldb::StringSource::Read ( uint64_t  offset,
size_t  n,
Slice result,
char *  scratch 
) const
inlinevirtual

Implements leveldb::RandomAccessFile.

Definition at line 120 of file table_test.cc.

uint64_t leveldb::StringSource::Size ( ) const
inline

Definition at line 118 of file table_test.cc.

Member Data Documentation

std::string leveldb::StringSource::contents_
private

Definition at line 134 of file table_test.cc.


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