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

#include <joedb/compiler/Compiler_Options.h>

Collaboration diagram for joedb::Compiler_Options:

Classes

struct  Index
struct  Table_Options

Public Member Functions

bool has_ordered_index () const
bool has_unordered_index () const
bool has_blob () const
bool has_unique_index () const
bool has_single_row () const
bool has_multi_row () const
bool is_unique_field_name (const std::string &field_name) const
bool has_table (const std::string &table_name) 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 Database & get_db () const
const std::vector< std::string > & get_custom_names () const
const std::vector< std::string > & get_name_space () const
const std::string & get_name_space_back () const
const std::vector< Index > & get_indices () const
const Table_Options & get_table_options (Table_Id table_id) const
std::string get_path (const std::string &schema) const

Public Attributes

std::string exe_path
std::string output_path
std::string base_name
Database db
Memory_File schema_file
std::vector< std::string > custom_names
std::vector< std::string > name_space
std::vector< Index > indices
std::map< Table_Id, Table_Options > table_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 142 of file Compiler_Options.h.

◆ get_custom_names()

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

Definition at line 148 of file Compiler_Options.h.

◆ get_db()

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

Definition at line 147 of file Compiler_Options.h.

◆ get_indices()

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

Definition at line 163 of file Compiler_Options.h.

◆ get_name_space()

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

Definition at line 152 of file Compiler_Options.h.

◆ get_name_space_back()

const std::string & joedb::Compiler_Options::get_name_space_back ( ) const
inline

Definition at line 156 of file Compiler_Options.h.

◆ get_path()

std::string joedb::Compiler_Options::get_path ( const std::string & schema) const
inline

Definition at line 168 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 164 of file Compiler_Options.h.

◆ has_blob()

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

Definition at line 81 of file Compiler_Options.h.

◆ has_multi_row()

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

Definition at line 106 of file Compiler_Options.h.

◆ has_ordered_index()

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

Definition at line 65 of file Compiler_Options.h.

◆ has_single_row()

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

Definition at line 98 of file Compiler_Options.h.

◆ has_table()

bool joedb::Compiler_Options::has_table ( const std::string & table_name) const
inline

Definition at line 127 of file Compiler_Options.h.

◆ has_unique_index()

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

Definition at line 90 of file Compiler_Options.h.

◆ has_unordered_index()

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

Definition at line 73 of file Compiler_Options.h.

◆ is_unique_field_name()

bool joedb::Compiler_Options::is_unique_field_name ( const std::string & field_name) const
inline

Definition at line 114 of file Compiler_Options.h.

◆ set_name_space()

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

Definition at line 132 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 137 of file Compiler_Options.h.

Member Data Documentation

◆ base_name

std::string joedb::Compiler_Options::base_name

Definition at line 54 of file Compiler_Options.h.

◆ custom_names

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

Definition at line 58 of file Compiler_Options.h.

◆ db

Database joedb::Compiler_Options::db

Definition at line 56 of file Compiler_Options.h.

◆ exe_path

std::string joedb::Compiler_Options::exe_path

Definition at line 52 of file Compiler_Options.h.

◆ indices

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

Definition at line 61 of file Compiler_Options.h.

◆ name_space

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

Definition at line 60 of file Compiler_Options.h.

◆ output_path

std::string joedb::Compiler_Options::output_path

Definition at line 53 of file Compiler_Options.h.

◆ schema_file

Memory_File joedb::Compiler_Options::schema_file

Definition at line 57 of file Compiler_Options.h.

◆ table_options

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

Definition at line 62 of file Compiler_Options.h.


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