Joedb 10.5.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
joedb::Type Class Reference

#include <joedb/Type.h>

Public Types

enum class  Type_Id : uint8_t {
  null , string , int32 , int64 ,
  reference , boolean , float32 , float64 ,
  int8 , int16 , blob
}
enum  { type_ids }

Public Member Functions

Type_Id get_type_id () const
Table_Id get_table_id () const
 Type ()
 Type (Type_Id type_id)

Static Public Member Functions

static Type string ()
static Type int32 ()
static Type int64 ()
static Type boolean ()
static Type float32 ()
static Type float64 ()
static Type int8 ()
static Type int16 ()
static Type blob ()
static Type reference (Table_Id table_id)

Detailed Description

Definition at line 14 of file Type.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
type_ids 

Definition at line 25 of file Type.h.

◆ Type_Id

enum class joedb::Type::Type_Id : uint8_t
strong
Enumerator
null 
string 
int32 
int64 
reference 
boolean 
float32 
float64 
int8 
int16 
blob 

Definition at line 17 of file Type.h.

Constructor & Destructor Documentation

◆ Type() [1/2]

joedb::Type::Type ( )
inline

Definition at line 44 of file Type.h.

◆ Type() [2/2]

joedb::Type::Type ( Type_Id type_id)
inline

Definition at line 45 of file Type.h.

Member Function Documentation

◆ blob()

Type joedb::Type::blob ( )
inlinestatic

Definition at line 30 of file Type.h.

◆ boolean()

Type joedb::Type::boolean ( )
inlinestatic

Definition at line 18 of file Type.h.

◆ float32()

Type joedb::Type::float32 ( )
inlinestatic

Definition at line 22 of file Type.h.

◆ float64()

Type joedb::Type::float64 ( )
inlinestatic

Definition at line 23 of file Type.h.

◆ get_table_id()

Table_Id joedb::Type::get_table_id ( ) const
inline

Definition at line 42 of file Type.h.

◆ get_type_id()

Type_Id joedb::Type::get_type_id ( ) const
inline

Definition at line 41 of file Type.h.

◆ int16()

Type joedb::Type::int16 ( )
inlinestatic

Definition at line 27 of file Type.h.

◆ int32()

Type joedb::Type::int32 ( )
inlinestatic

Definition at line 10 of file Type.h.

◆ int64()

Type joedb::Type::int64 ( )
inlinestatic

Definition at line 11 of file Type.h.

◆ int8()

Type joedb::Type::int8 ( )
inlinestatic

Definition at line 26 of file Type.h.

◆ reference()

Type joedb::Type::reference ( Table_Id table_id)
inlinestatic

Definition at line 52 of file Type.h.

◆ string()

Type joedb::Type::string ( )
inlinestatic

Definition at line 7 of file Type.h.


The documentation for this class was generated from the following file: