2587{
2588
2589
2590
2591
2592
2593
2594
2596 if (db==nullptr)
2597 {
2598 return;
2599 }
2600
2601# ifdef SQLITE3_DEBUG
2602
2603 sqlite3_trace(db, &sqlLog, nullptr);
2604# endif
2605
2608
2610 return;
2611
2613 {
2614 err(
"sqlite generator: prepareStatements failed!\n");
2615 return;
2616 }
2617
2619
2620
2622 {
2623 msg(
"Generating Sqlite3 output for class {}\n",cd->name());
2625 }
2626
2627
2629 {
2630 msg(
"Generating Sqlite3 output for concept {}\n",cd->name());
2632 }
2633
2634
2636 {
2637 msg(
"Generating Sqlite3 output for module {}\n",mod->name());
2639 }
2640
2641
2643 {
2644 msg(
"Generating Sqlite3 output for namespace {}\n",nd->name());
2646 }
2647
2648
2650 {
2651 for (const auto &fd : *fn)
2652 {
2653 msg(
"Generating Sqlite3 output for file {}\n",fd->name());
2655 }
2656 }
2657
2658
2660 {
2661 msg(
"Generating Sqlite3 output for group {}\n",gd->name());
2663 }
2664
2665
2667 {
2668 msg(
"Generating Sqlite3 output for page {}\n",pd->name());
2670 }
2671
2672
2674 {
2675 msg(
"Generating Sqlite3 output for dir {}\n",dd->name());
2677 }
2678
2679
2681 {
2682 msg(
"Generating Sqlite3 output for example {}\n",pd->name());
2684 }
2685
2686
2688 {
2689 msg(
"Generating Sqlite3 output for the main page\n");
2691 }
2692
2693
2694
2696 return;
2697
2699}
static NamespaceLinkedMap * namespaceLinkedMap
static ConceptLinkedMap * conceptLinkedMap
static std::unique_ptr< PageDef > mainPage
static FileNameLinkedMap * inputNameLinkedMap
static ClassLinkedMap * classLinkedMap
static PageLinkedMap * exampleLinkedMap
static PageLinkedMap * pageLinkedMap
static DirLinkedMap * dirLinkedMap
static GroupLinkedMap * groupLinkedMap
static ModuleManager & instance()
static void recordMetadata()
static int initializeTables(sqlite3 *db)
static void generateSqlite3ForModule(const ModuleDef *mod)
static void beginTransaction(sqlite3 *db)
static void generateSqlite3ForConcept(const ConceptDef *cd)
static void generateSqlite3ForGroup(const GroupDef *gd)
static int prepareStatements(sqlite3 *db)
static void endTransaction(sqlite3 *db)
static void generateSqlite3ForDir(const DirDef *dd)
static int initializeViews(sqlite3 *db)
static sqlite3 * openDbConnection()
static void generateSqlite3ForClass(const ClassDef *cd)
static void generateSqlite3ForNamespace(const NamespaceDef *nd)
static void generateSqlite3ForFile(const FileDef *fd)
static void generateSqlite3ForPage(const PageDef *pd, bool isExample)
static void pragmaTuning(sqlite3 *db)