Zen
A cross-platform functional programming language

store Class Reference

Intrinsic store type. More...

#include <zbl.hpp>

List of all members.

Public Member Functions

 store ()
 Default constructor.
 store (const z::string &path)
 Default constructor.
 store (const store &src)
 Copy constructor.
const stringgetPath () const
 Returns the database path.
databaseget ()
 Returns the stored value.

Private Attributes

string _path
database _db

Detailed Description

Intrinsic store type.


Constructor & Destructor Documentation

store ( const z::string path) [inline, explicit]

Default constructor.

Parameters:
pathPath to the store
store ( const store src) [inline]

Copy constructor.

Parameters:
srcSource instance

Member Function Documentation

database& get ( ) [inline]

Returns the stored value.

Returns:
The value
const string& getPath ( ) const [inline]

Returns the database path.

Returns:
The database path

Member Data Documentation

database _db [private]
Returns:
The database
string _path [private]
Returns:
The database path

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines