operations.h
Go to the documentation of this file.
1#pragma once
2
5
6// Data
7#include "ConnectionManager.h"
8
10{
11
12 namespace constantes
13 {
14 const std::string FOREIGN_KEY = "foreign_key";
15 const std::string ID = "id";
16 const std::string TIMESTAMP = "timestamp";
17 const std::string INSTANCES = "instances";
18 } // namespace constantes
19
20 namespace util
21 {
22 void load(const mongocxx::database& db, armem::wm::Memory& memory);
23 void load(const mongocxx::database& db, armem::wm::CoreSegment& memory);
24 void load(const mongocxx::database& db, armem::wm::ProviderSegment& memory);
25 void load(const mongocxx::database& db, armem::wm::Entity& memory);
26
27 void convert(const mongocxx::database& db, armem::wm::Memory& memory);
28 void convert(const mongocxx::database& db, armem::wm::CoreSegment& memory);
29 void convert(const mongocxx::database& db, armem::wm::ProviderSegment& memory);
30 void convert(const mongocxx::database& db, armem::wm::Entity& memory);
31
32 void store(const mongocxx::database& db, const armem::wm::Memory& memory);
33 void store(const mongocxx::database& db, const armem::wm::CoreSegment& memory);
34 void store(const mongocxx::database& db, const armem::wm::ProviderSegment& memory);
35 void store(const mongocxx::database& db, const armem::wm::Entity& memory);
36 } // namespace util
37
38} // namespace armarx::armem::server::ltm::mongodb
Client-side working memory core segment.
Client-side working memory entity.
Client-side working memory.
Client-side working memory provider segment.
Brief description of class memory.
Definition memory.h:39
void store(const mongocxx::database &db, const armem::wm::Memory &m)
void load(const mongocxx::database &db, armem::wm::Memory &m)
void convert(const mongocxx::database &db, armem::wm::Memory &m)