Jazz 1.25.+
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
jazz_bebop::Fields Class Reference

Fields: A Space for Snippets. More...

#include <fields.h>

Inheritance diagram for jazz_bebop::Fields:
jazz_elements::Service jazz_models::SemSpaces

Public Member Functions

 Fields (pBaseAPI api)
 Bop: Start the Fields.
 
virtual StatusCode start ()
 
virtual pChar const id ()
 
- Public Member Functions inherited from jazz_elements::Service
 Service (pLogger a_logger, pConfigFile a_config)
 
virtual StatusCode shut_down ()
 
void log (int loglevel, const char *message)
 
void log_printf (int loglevel, const char *fmt,...)
 
bool get_conf_key (const char *key, int &value)
 
bool get_conf_key (const char *key, double &value)
 
bool get_conf_key (const char *key, std::string &value)
 

Private Attributes

Name storage_ent
 The name of the storage entity (Typically an lmdb database with the metadata of all SemSpaces).
 
pVolatile p_volatile
 The Volatile container.
 
pPersisted p_persisted
 The Persisted container.
 
pBaseAPI p_api
 A pointer to the BaseAPI that provides access to containers.
 

Additional Inherited Members

- Data Fields inherited from jazz_elements::Service
pLogger p_log
 The logger.
 
pConfigFile p_conf
 The configuration file.
 

Detailed Description

Fields: A Space for Snippets.

A Fields is Space interface to the base index of the Volatile Container. The entity is the Fields and the key is the name of the snippet.

A field is a namespace inside Fields.

Constructor & Destructor Documentation

◆ Fields()

jazz_bebop::Fields::Fields ( pBaseAPI  api)

Bop: Start the Fields.

Parameters
apiA pointer to a BaseAPI that provides access to containers.

Member Function Documentation

◆ start()

StatusCode jazz_bebop::Fields::start ( )
virtual

Starts the Fields service

Returns
SERVICE_NO_ERROR if successful, an error code otherwise.

Reimplemented from jazz_elements::Service.

Reimplemented in jazz_models::SemSpaces.

◆ id()

pChar const jazz_bebop::Fields::id ( )
virtual

Return object ID.

Returns
A string identifying the object that is especially useful to track uplifts and versions.

Reimplemented from jazz_elements::Service.

Reimplemented in jazz_models::SemSpaces.


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