From 9fb34dbc4b06356402c0e1d15496ad7564237186 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 4 Jul 2017 07:44:30 -0400 Subject: output_hub sqlite introduce structure --- org/output_hub.org | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'org/output_hub.org') diff --git a/org/output_hub.org b/org/output_hub.org index a859d59..f4eb1de 100644 --- a/org/output_hub.org +++ b/org/output_hub.org @@ -32,6 +32,14 @@ template outputHub() { <> } } +template outputHubOp() { + <> + void outputHubOp(C)(C config) { + mixin SiSUoutputRgxInit; + auto rgx = Rgx(); + <> + } +} #+END_SRC ** initialize / imports @@ -158,6 +166,21 @@ if (doc_matters.opt_action["odt"]) { #+BEGIN_SRC d if (doc_matters.opt_action["sqlite"]) { if ((doc_matters.opt_action["verbose"])) { writeln("sqlite processing... "); } + // SQLtableLoad!()(doc_abstraction, doc_matters); +} +#+END_SRC + +*** sqlite (create, drop) + +#+name: output_options_op +#+BEGIN_SRC d +if ((config["sqlite-create"])) { + if ((config["verbose"])) { writeln("sqlite create table... "); } + // SQLtableCreate!()(); +} +if ((config["sqlite-drop"])) { + if ((config["verbose"])) { writeln("sqlite drop table... "); } + // SQLtableDrop!()(); } #+END_SRC -- cgit v1.2.3