Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Namespaces | Macros
Writable.cpp File Reference
#include "joedb/Writable.h"
#include "joedb/TYPE_MACRO.h"
Include dependency graph for Writable.cpp:
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

◆ TYPE_MACRO [1/2]

#define TYPE_MACRO (   type,
  return_type,
  type_id,
  R,
 
)
Value:
void Writable::update_vector_##type_id\
(\
Table_Id table_id,\
Record_Id record_id,\
Field_Id field_id,\
size_t size,\
const type *value\
)\
{\
for (size_t i = 0; i < size; i++)\
update_##type_id(table_id, record_id + i, field_id, value[i]);\
}

Definition at line 5 of file Writable.cpp.

◆ TYPE_MACRO [2/2]

#define TYPE_MACRO (   type,
  return_type,
  type_id,
  R,
 
)
Value:
void Writable::update_##type_id\
(\
Table_Id table_id,\
Record_Id record_id,\
Field_Id field_id,\
return_type value\
)\
{\
}

Definition at line 5 of file Writable.cpp.