Jazz 1.25.+
Loading...
Searching...
No Matches
fields.h
1/* Jazz (c) 2018-2025 kaalam.ai (The Authors of Jazz), using (under the same license):
2
3 1. Biomodelling - The AATBlockQueue class (c) Jacques BasaldĂșa, 2009-2012 licensed
4 exclusively for the use in the Jazz server software.
5
6 Copyright 2009-2012 Jacques BasaldĂșa
7
8 2. BBVA - Jazz: A lightweight analytical web server for data-driven applications.
9
10 Copyright 2016-2017 Banco Bilbao Vizcaya Argentaria, S.A.
11
12 This product includes software developed at
13
14 BBVA (https://www.bbva.com/)
15
16 3. LMDB, Copyright 2011-2017 Howard Chu, Symas Corp. All rights reserved.
17
18 Licensed under http://www.OpenLDAP.org/license.html
19
20
21 Licensed under the Apache License, Version 2.0 (the "License");
22 you may not use this file except in compliance with the License.
23 You may obtain a copy of the License at
24
25 http://www.apache.org/licenses/LICENSE-2.0
26
27 Unless required by applicable law or agreed to in writing, software
28 distributed under the License is distributed on an "AS IS" BASIS,
29 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
30 See the License for the specific language governing permissions and
31 limitations under the License.
32*/
33
34
35#include "src/jazz_bebop/snippet.h"
36
37#if defined CATCH_TEST
38#ifndef INCLUDED_JAZZ_CATCH2
39#define INCLUDED_JAZZ_CATCH2
40
41#include "src/catch2/catch.hpp"
42
43#endif
44#endif
45
46
47#ifndef INCLUDED_JAZZ_BEBOP_FIELD
48#define INCLUDED_JAZZ_BEBOP_FIELD
49
50
51namespace jazz_bebop
52{
53
60class Fields : public Service {
61
62 public:
63
64 Fields(pBaseAPI api);
65
66 virtual StatusCode start();
67
68 virtual pChar const id();
69
70 private:
71
76};
77typedef Fields *pFields;
78
79#ifdef CATCH_TEST
80
81// Instancing Fields
82// -----------------
83
84extern Fields FIELDS;
85
86#endif
87
88} // namespace jazz_bebop
89
90#endif // ifndef INCLUDED_JAZZ_BEBOP_FIELD
BaseAPI: The parent of API and Core.
Definition base_api.h:121
Fields: A Space for Snippets.
Definition fields.h:60
virtual StatusCode start()
Definition fields.cpp:57
pBaseAPI p_api
A pointer to the BaseAPI that provides access to containers.
Definition fields.h:75
virtual pChar const id()
Definition fields.cpp:97
pVolatile p_volatile
The Volatile container.
Definition fields.h:73
pPersisted p_persisted
The Persisted container.
Definition fields.h:74
Name storage_ent
The name of the storage entity (Typically an lmdb database with the metadata of all SemSpaces).
Definition fields.h:72
Persisted: A Service to manage data objects in LMDB.
Definition persisted.h:93
A Jazz Service is a globally instanced configurable object that may allocate RAM.
Definition utils.h:285
Volatile: A Service to manage data objects in RAM.
Definition volatile.h:244
A language to access any container by base using locators.
Definition base_api.cpp:39
Fields * pFields
A pointer to a Fields.
Definition fields.h:77
char * pChar
A pointer to a char buffer.
Definition types.h:185
char Name[NAME_SIZE]
A short identifier used in Blocks, Containers and API.
Definition types.h:183
int StatusCode
Type returned by the Service API.
Definition utils.h:141