Joedb
10.2.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
source
tutorial
src
tutorial
rpc
Signatures.h
Go to the documentation of this file.
1
/////////////////////////////////////////////////////////////////////////////
2
//
3
// This code was automatically generated by the joedb compiler
4
// https://www.joedb.org/
5
//
6
// Path to compiler: /home/rcoulom/repos/joedb/compcmake/gcc_debug/joedbc
7
// Version: 10.2.1
8
// joedbc compilation time: Sep 15 2025 20:22:33
9
// Generation of this file: 2025-09-15 18:23:01 GMT
10
//
11
/////////////////////////////////////////////////////////////////////////////
12
#ifndef tutorial_rpc_Signatures_declared
13
#define tutorial_rpc_Signatures_declared
14
15
#include "
joedb/rpc/Signature.h
"
16
#include "
city/Memory_Database.h
"
17
#include "
population/Memory_Database.h
"
18
#include "../Memory_Database.h"
19
20
namespace
tutorial::rpc
21
{
22
/// Get the list of procedure signatures. Used by RPC client and server.
23
inline
const
auto
&
get_signatures
()
24
{
25
static
const
std::vector<joedb::rpc::Signature> signatures
26
{
27
{
"insert_city"
,
city::Memory_Database
().
get_data
()},
28
{
"delete_city"
,
city::Memory_Database
().
get_data
()},
29
{
"get_population"
,
population::Memory_Database
().
get_data
()},
30
{
"get_inhabitants"
,
tutorial::Memory_Database
().
get_data
()},
31
};
32
33
return
signatures;
34
}
35
}
36
37
#endif
Signature.h
joedb::Memory_File::get_data
std::string & get_data()
Definition
Memory_File.h:23
tutorial::Memory_Database
Shortcut to directly build a Writable_Database with a Memory_File.
Definition
Memory_Database.h:22
tutorial::rpc::city::Memory_Database
Shortcut to directly build a Writable_Database with a Memory_File.
Definition
Memory_Database.h:22
tutorial::rpc::population::Memory_Database
Shortcut to directly build a Writable_Database with a Memory_File.
Definition
Memory_Database.h:22
Memory_Database.h
Memory_Database.h
tutorial::rpc
Definition
Client.h:19
tutorial::rpc::get_signatures
const auto & get_signatures()
Get the list of procedure signatures. Used by RPC client and server.
Definition
Signatures.h:23
Generated by
1.9.8