2588{
2589
2590
2591
2592
2593
2594
2595
2597 if (db==nullptr)
2598 {
2599 return;
2600 }
2601
2602# ifdef SQLITE3_DEBUG
2603
2604 sqlite3_trace(db, &sqlLog, nullptr);
2605# endif
2606
2609
2611 return;
2612
2614 {
2615 err(
"sqlite generator: prepareStatements failed!\n");
2616 return;
2617 }
2618
2620
2621
2623 {
2624 msg(
"Generating Sqlite3 output for class {}\n",cd->name());
2626 }
2627
2628
2630 {
2631 msg(
"Generating Sqlite3 output for concept {}\n",cd->name());
2633 }
2634
2635
2637 {
2638 msg(
"Generating Sqlite3 output for module {}\n",mod->name());
2640 }
2641
2642
2644 {
2645 msg(
"Generating Sqlite3 output for namespace {}\n",nd->name());
2647 }
2648
2649
2651 {
2652 for (const auto &fd : *fn)
2653 {
2654 msg(
"Generating Sqlite3 output for file {}\n",fd->name());
2656 }
2657 }
2658
2659
2661 {
2662 msg(
"Generating Sqlite3 output for group {}\n",gd->name());
2664 }
2665
2666
2668 {
2669 msg(
"Generating Sqlite3 output for page {}\n",pd->name());
2671 }
2672
2673
2675 {
2676 msg(
"Generating Sqlite3 output for dir {}\n",dd->name());
2678 }
2679
2680
2682 {
2683 msg(
"Generating Sqlite3 output for example {}\n",pd->name());
2685 }
2686
2687
2689 {
2690 msg(
"Generating Sqlite3 output for the main page\n");
2692 }
2693
2694
2695
2697 return;
2698
2700}
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)