Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
dump.cpp File Reference
#include "joedb/ui/dump.h"
#include "joedb/interpreted/Database.h"
#include "joedb/Writable.h"
#include "joedb/Selective_Writable.h"
#include "joedb/Multiplexer.h"
#include "joedb/journal/Readonly_Journal.h"
#include "joedb/TYPE_MACRO.h"
Include dependency graph for dump.cpp:

Go to the source code of this file.

Namespaces

namespace  joedb
 

Macros

#define TYPE_MACRO(type, return_type, type_id, R, W)
 
#define TYPE_MACRO(type, return_type, type_id, R, W)
 
#define TYPE_MACRO(type, return_type, type_id, R, W)
 

Functions

void joedb::dump (const Readable &db, Writable &writable, bool schema_only=false)
 
void joedb::dump_data (const Readable &db, Writable &writable)
 
void joedb::pack (Readonly_Journal &input_journal, Writable &writable)
 

Macro Definition Documentation

◆ TYPE_MACRO [1/3]

#define TYPE_MACRO (   type,
  return_type,
  type_id,
  R,
 
)
Value:
case Type::Type_Id::type_id:\
writable.update_##type_id\
(\
mapped_tid, record_id, mapped_fid, db.get_##type_id(tid, record_id, fid)\
);\
break;

◆ TYPE_MACRO [2/3]

#define TYPE_MACRO (   type,
  return_type,
  type_id,
  R,
 
)
Value:
case Type::Type_Id::type_id:\
{\
writable.update_vector_##type_id\
(\
tid,\
record_id,\
fid,\
size,\
&db.get_##type_id\
(\
tid,\
record_id,\
fid\
)\
);\
}\
break;

◆ TYPE_MACRO [3/3]

#define TYPE_MACRO (   type,
  return_type,
  type_id,
  R,
 
)
Value:
case Type::Type_Id::type_id:\
{\
writable.update_##type_id\
(\
tid,\
record_id,\
fid,\
db.get_##type_id(tid, record_id, fid)\
);\
}\
break;