Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
joedb::Compiler_Options Class Reference

#include <joedb/compiler/Compiler_Options.h>

Collaboration diagram for joedb::Compiler_Options:
Collaboration graph
[legend]

Classes

struct  Index
 
struct  Table_Options
 

Public Member Functions

bool has_index () const
 
bool has_unique_index () const
 
bool has_single_row () const
 
void set_name_space (std::vector< std::string > v)
 
void set_single_row (Table_Id table_id, bool value)
 
void add_index (Index index)
 
const Databaseget_db () const
 
const std::vector< std::string > & get_custom_names () const
 
const std::vector< std::string > & get_name_space () const
 
const std::vector< Index > & get_indices () const
 
const Table_Optionsget_table_options (Table_Id table_id) const
 

Public Attributes

std::string exe_path
 
Database db
 
Memory_File schema_file
 
std::vector< std::string > custom_names
 
std::vector< std::string > name_space
 
std::vector< Indexindices
 
std::map< Table_Id, Table_Optionstable_options
 

Detailed Description

Definition at line 13 of file Compiler_Options.h.

Member Function Documentation

◆ add_index()

void joedb::Compiler_Options::add_index ( Index  index)
inline

Definition at line 92 of file Compiler_Options.h.

◆ get_custom_names()

const std::vector< std::string > & joedb::Compiler_Options::get_custom_names ( ) const
inline

Definition at line 98 of file Compiler_Options.h.

◆ get_db()

const Database & joedb::Compiler_Options::get_db ( ) const
inline

Definition at line 97 of file Compiler_Options.h.

◆ get_indices()

const std::vector< Index > & joedb::Compiler_Options::get_indices ( ) const
inline

Definition at line 106 of file Compiler_Options.h.

◆ get_name_space()

const std::vector< std::string > & joedb::Compiler_Options::get_name_space ( ) const
inline

Definition at line 102 of file Compiler_Options.h.

◆ get_table_options()

const Table_Options & joedb::Compiler_Options::get_table_options ( Table_Id  table_id) const
inline

Definition at line 107 of file Compiler_Options.h.

◆ has_index()

bool joedb::Compiler_Options::has_index ( ) const
inline

Definition at line 61 of file Compiler_Options.h.

◆ has_single_row()

bool joedb::Compiler_Options::has_single_row ( ) const
inline

Definition at line 74 of file Compiler_Options.h.

◆ has_unique_index()

bool joedb::Compiler_Options::has_unique_index ( ) const
inline

Definition at line 66 of file Compiler_Options.h.

◆ set_name_space()

void joedb::Compiler_Options::set_name_space ( std::vector< std::string >  v)
inline

Definition at line 82 of file Compiler_Options.h.

◆ set_single_row()

void joedb::Compiler_Options::set_single_row ( Table_Id  table_id,
bool  value 
)
inline

Definition at line 87 of file Compiler_Options.h.

Member Data Documentation

◆ custom_names

std::vector<std::string> joedb::Compiler_Options::custom_names

Definition at line 54 of file Compiler_Options.h.

◆ db

Database joedb::Compiler_Options::db

Definition at line 52 of file Compiler_Options.h.

◆ exe_path

std::string joedb::Compiler_Options::exe_path

Definition at line 51 of file Compiler_Options.h.

◆ indices

std::vector<Index> joedb::Compiler_Options::indices

Definition at line 57 of file Compiler_Options.h.

◆ name_space

std::vector<std::string> joedb::Compiler_Options::name_space

Definition at line 56 of file Compiler_Options.h.

◆ schema_file

Memory_File joedb::Compiler_Options::schema_file

Definition at line 53 of file Compiler_Options.h.

◆ table_options

std::map<Table_Id, Table_Options> joedb::Compiler_Options::table_options

Definition at line 58 of file Compiler_Options.h.


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