strus  0.17
Public Member Functions | List of all members
strus::DatabaseOptions Class Reference

Structure for passing some options to the strus key value storage database. More...

#include <databaseOptions.hpp>

Public Member Functions

 DatabaseOptions ()
 Default constructor. More...
 
 DatabaseOptions (const DatabaseOptions &o)
 Copy constructor. More...
 
 DatabaseOptions (unsigned int opt_)
 Constructor. More...
 
DatabaseOptionsuseCache (bool yes=true)
 Enable caching of visited key/value elements or blocks. More...
 
bool useCacheEnabled () const
 Test flag for caching the values read in an LRU cache. More...
 
unsigned int opt () const
 Get the options transacription as integer. More...
 

Detailed Description

Structure for passing some options to the strus key value storage database.

Constructor & Destructor Documentation

strus::DatabaseOptions::DatabaseOptions ( )
inline

Default constructor.

strus::DatabaseOptions::DatabaseOptions ( const DatabaseOptions o)
inline

Copy constructor.

strus::DatabaseOptions::DatabaseOptions ( unsigned int  opt_)
inline

Constructor.

Member Function Documentation

unsigned int strus::DatabaseOptions::opt ( ) const
inline

Get the options transacription as integer.

DatabaseOptions& strus::DatabaseOptions::useCache ( bool  yes = true)
inline

Enable caching of visited key/value elements or blocks.

bool strus::DatabaseOptions::useCacheEnabled ( ) const
inline

Test flag for caching the values read in an LRU cache.


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