CellModules
PluginSQL::Scheme Struct Reference

#include <SchemeSQL.hpp>

Public Member Functions

 Scheme (const std::string &simulation_id)
 

Static Public Member Functions

template<typename cell_t , typename world_t >
static void CellValueBinary (Connection &conn, cell_t *c, world_t *w)
 
template<typename world_t >
static void WorldValueBinary (Connection &conn, world_t *w)
 
template<typename cell_t , typename world_t >
static void CellValueStatement (std::stringstream &ss, cell_t *c, world_t *w)
 
template<typename world_t >
static std::string WorldValueStatement (world_t *w)
 

Public Attributes

const std::string WorldTable
 
const std::string CellTable
 
std::string WorldTableCreationStatement
 
std::string CellTableCreationStatement
 
const std::string WorldTableDataLayout
 
const std::string CellTableDataLayout
 

Static Public Attributes

static constexpr size_t WorldRowSize = 2 + 2*8 + 1*12
 

Detailed Description

Definition at line 44 of file SchemeSQL.hpp.

Constructor & Destructor Documentation

◆ Scheme()

PluginSQL::Scheme::Scheme ( const std::string &  simulation_id)
inline

Definition at line 57 of file SchemeSQL.hpp.

Member Function Documentation

◆ CellValueBinary()

template<typename cell_t , typename world_t >
static void PluginSQL::Scheme::CellValueBinary ( Connection conn,
cell_t *  c,
world_t *  w 
)
inlinestatic

Definition at line 93 of file SchemeSQL.hpp.

◆ CellValueStatement()

template<typename cell_t , typename world_t >
static void PluginSQL::Scheme::CellValueStatement ( std::stringstream &  ss,
cell_t *  c,
world_t *  w 
)
inlinestatic

Definition at line 119 of file SchemeSQL.hpp.

◆ WorldValueBinary()

template<typename world_t >
static void PluginSQL::Scheme::WorldValueBinary ( Connection conn,
world_t *  w 
)
inlinestatic

Definition at line 111 of file SchemeSQL.hpp.

◆ WorldValueStatement()

template<typename world_t >
static std::string PluginSQL::Scheme::WorldValueStatement ( world_t *  w)
inlinestatic

Definition at line 137 of file SchemeSQL.hpp.

Member Data Documentation

◆ CellTable

const std::string PluginSQL::Scheme::CellTable

Definition at line 48 of file SchemeSQL.hpp.

◆ CellTableCreationStatement

std::string PluginSQL::Scheme::CellTableCreationStatement

Definition at line 51 of file SchemeSQL.hpp.

◆ CellTableDataLayout

const std::string PluginSQL::Scheme::CellTableDataLayout

Definition at line 54 of file SchemeSQL.hpp.

◆ WorldRowSize

constexpr size_t PluginSQL::Scheme::WorldRowSize = 2 + 2*8 + 1*12
staticconstexpr

Definition at line 90 of file SchemeSQL.hpp.

◆ WorldTable

const std::string PluginSQL::Scheme::WorldTable

Definition at line 47 of file SchemeSQL.hpp.

◆ WorldTableCreationStatement

std::string PluginSQL::Scheme::WorldTableCreationStatement

Definition at line 50 of file SchemeSQL.hpp.

◆ WorldTableDataLayout

const std::string PluginSQL::Scheme::WorldTableDataLayout

Definition at line 53 of file SchemeSQL.hpp.


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