Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
type_io.h File Reference
#include "joedb/index_types.h"
#include "joedb/Blob.h"
#include <iostream>
#include <cstdint>
Include dependency graph for type_io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  joedb
 

Macros

#define PRIMITIVE_IO(type, type_id)
 

Functions

std::string joedb::read_string (std::istream &in)
 
void joedb::write_string (std::ostream &out, const std::string &s, bool json)
 
void joedb::write_sql_string (std::ostream &out, const std::string &s)
 
size_t joedb::utf8_display_size (const std::string &s)
 
uint32_t joedb::read_utf8_char (size_t &i, const std::string &s)
 
void joedb::write_justified (std::ostream &out, const std::string &s, size_t width, bool flush_left)
 
char joedb::get_hex_char_from_digit (uint8_t n)
 
uint8_t joedb::get_hex_digit_from_char (char c)
 
void joedb::write_hexa_character (std::ostream &out, uint8_t c)
 
void joedb::write_octal_character (std::ostream &out, uint8_t c)
 
int8_t joedb::read_int8 (std::istream &in)
 
void joedb::write_int8 (std::ostream &out, int8_t value)
 
bool joedb::read_boolean (std::istream &in)
 
void joedb::write_boolean (std::ostream &out, bool value)
 
void joedb::write_blob (std::ostream &out, Blob blob)
 
Blob joedb::read_blob (std::istream &in)
 
std::ostream & joedb::operator<< (std::ostream &out, Table_Id table_id)
 
std::ostream & joedb::operator<< (std::ostream &out, Field_Id field_id)
 
std::ostream & joedb::operator<< (std::ostream &out, Record_Id record_id)
 
std::istream & joedb::operator>> (std::istream &in, Table_Id &table_id)
 
std::istream & joedb::operator>> (std::istream &in, Field_Id &field_id)
 
std::istream & joedb::operator>> (std::istream &in, Record_Id &record_id)
 
int32_t joedb::read_int32 (std::istream &in)
 
void joedb::write_int32 (std::ostream &out, int32_t value)
 
int64_t joedb::read_int64 (std::istream &in)
 
void joedb::write_int64 (std::ostream &out, int64_t value)
 
Record_Id joedb::read_reference (std::istream &in)
 
void joedb::write_reference (std::ostream &out, Record_Id value)
 
float joedb::read_float32 (std::istream &in)
 
void joedb::write_float32 (std::ostream &out, float value)
 
double joedb::read_float64 (std::istream &in)
 
void joedb::write_float64 (std::ostream &out, double value)
 
int16_t joedb::read_int16 (std::istream &in)
 
void joedb::write_int16 (std::ostream &out, int16_t value)