Joedb 10.2.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
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"
18#include "../Memory_Database.h"
19
20namespace 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
std::string & get_data()
Definition Memory_File.h:23
Shortcut to directly build a Writable_Database with a Memory_File.
Shortcut to directly build a Writable_Database with a Memory_File.
Shortcut to directly build a Writable_Database with a Memory_File.
const auto & get_signatures()
Get the list of procedure signatures. Used by RPC client and server.
Definition Signatures.h:23