Doxygen
|
#include <stdlib.h>
#include <stdio.h>
#include <sstream>
#include "settings.h"
#include "message.h"
#include "sqlite3gen.h"
#include "doxygen.h"
#include "xmlgen.h"
#include "xmldocvisitor.h"
#include "config.h"
#include "util.h"
#include "outputlist.h"
#include "docparser.h"
#include "docnode.h"
#include "language.h"
#include "version.h"
#include "dot.h"
#include "arguments.h"
#include "classlist.h"
#include "filedef.h"
#include "namespacedef.h"
#include "filename.h"
#include "groupdef.h"
#include "membername.h"
#include "memberdef.h"
#include "pagedef.h"
#include "dirdef.h"
#include "section.h"
#include "fileinfo.h"
#include "dir.h"
#include "datetime.h"
#include "moduledef.h"
#include <sys/stat.h>
#include <string.h>
#include <sqlite3.h>
Go to the source code of this file.
Classes | |
struct | SqlStmt |
class | TextGeneratorSqlite3Impl |
struct | Refid |
Macros | |
#define | DBG_CTX(x) |
Functions | |
static bool | bindTextParameter (SqlStmt &s, const char *name, const QCString &value) |
static bool | bindIntParameter (SqlStmt &s, const char *name, int value) |
static int | step (SqlStmt &s, bool getRowId=FALSE, bool select=FALSE) |
static int | insertPath (QCString name, bool local=TRUE, bool found=TRUE, int type=1) |
static void | recordMetadata () |
struct Refid | insertRefid (const QCString &refid) |
static bool | memberdefExists (struct Refid refid) |
static bool | memberdefIncomplete (struct Refid refid, const MemberDef *md) |
static bool | compounddefExists (struct Refid refid) |
static bool | insertMemberReference (struct Refid src_refid, struct Refid dst_refid, const char *context) |
static void | insertMemberReference (const MemberDef *src, const MemberDef *dst, const char *context) |
static void | insertMemberFunctionParams (int memberdef_id, const MemberDef *md, const Definition *def) |
static void | insertMemberDefineParams (int memberdef_id, const MemberDef *md, const Definition *def) |
static void | associateMember (const MemberDef *md, struct Refid member_refid, struct Refid scope_refid) |
static void | stripQualifiers (QCString &typeStr) |
static int | prepareStatement (sqlite3 *db, SqlStmt &s) |
static int | prepareStatements (sqlite3 *db) |
static void | beginTransaction (sqlite3 *db) |
static void | endTransaction (sqlite3 *db) |
static void | pragmaTuning (sqlite3 *db) |
static int | initializeTables (sqlite3 *db) |
static int | initializeViews (sqlite3 *db) |
static void | writeInnerClasses (const ClassLinkedRefMap &cl, struct Refid outer_refid) |
static void | writeInnerConcepts (const ConceptLinkedRefMap &cl, struct Refid outer_refid) |
static void | writeInnerModules (const ModuleLinkedRefMap &ml, struct Refid outer_refid) |
static void | writeInnerPages (const PageLinkedRefMap &pl, struct Refid outer_refid) |
static void | writeInnerGroups (const GroupList &gl, struct Refid outer_refid) |
static void | writeInnerFiles (const FileList &fl, struct Refid outer_refid) |
static void | writeInnerDirs (const DirList &dl, struct Refid outer_refid) |
static void | writeInnerNamespaces (const NamespaceLinkedRefMap &nl, struct Refid outer_refid) |
static void | writeTemplateArgumentList (const ArgumentList &al, const Definition *scope, const FileDef *fileScope) |
static void | writeMemberTemplateLists (const MemberDef *md) |
static void | writeTemplateList (const ClassDef *cd) |
static void | writeTemplateList (const ConceptDef *cd) |
QCString | getSQLDocBlock (const Definition *scope, const Definition *def, const QCString &doc, const QCString &fileName, int lineNr) |
static void | getSQLDesc (SqlStmt &s, const char *col, const QCString &value, const Definition *def) |
static void | getSQLDescCompound (SqlStmt &s, const char *col, const QCString &value, const Definition *def) |
static void | generateSqlite3ForMember (const MemberDef *md, struct Refid scope_refid, const Definition *def) |
static void | generateSqlite3Section (const Definition *d, const MemberList *ml, struct Refid scope_refid, const char *, const QCString &=QCString(), const QCString &=QCString()) |
static void | associateAllClassMembers (const ClassDef *cd, struct Refid scope_refid) |
static void | generateSqlite3ForClass (const ClassDef *cd) |
static void | generateSqlite3ForConcept (const ConceptDef *cd) |
static void | generateSqlite3ForModule (const ModuleDef *mod) |
static void | generateSqlite3ForNamespace (const NamespaceDef *nd) |
static void | generateSqlite3ForFile (const FileDef *fd) |
static void | generateSqlite3ForGroup (const GroupDef *gd) |
static void | generateSqlite3ForDir (const DirDef *dd) |
static void | generateSqlite3ForPage (const PageDef *pd, bool isExample) |
static sqlite3 * | openDbConnection () |
void | generateSqlite3 () |
#define DBG_CTX | ( | x | ) |
Definition at line 67 of file sqlite3gen.cpp.
Referenced by generateSqlite3ForClass(), generateSqlite3ForFile(), generateSqlite3ForMember(), insertMemberDefineParams(), insertMemberFunctionParams(), step(), and TextGeneratorSqlite3Impl::writeBreak().
Definition at line 1899 of file sqlite3gen.cpp.
References Definition::anchor(), associateMember(), Definition::getOutputFileBase(), insertRefid(), and ClassDef::memberNameInfoLinkedMap().
Referenced by generateSqlite3ForClass().
|
static |
Definition at line 1121 of file sqlite3gen.cpp.
References bindIntParameter(), EnumValue, Definition::isAnonymous(), member_insert, MemberDef::memberType(), MemberDef::protection(), Refid::rowid, step(), and MemberDef::virtualness().
Referenced by associateAllClassMembers(), and generateSqlite3ForMember().
|
static |
Definition at line 1194 of file sqlite3gen.cpp.
Referenced by generateSqlite3().
|
static |
Definition at line 877 of file sqlite3gen.cpp.
References SqlStmt::db, err, SqlStmt::query, and SqlStmt::stmt.
Referenced by associateMember(), compounddefExists(), generateSqlite3ForClass(), generateSqlite3ForConcept(), generateSqlite3ForDir(), generateSqlite3ForFile(), generateSqlite3ForGroup(), generateSqlite3ForMember(), generateSqlite3ForModule(), generateSqlite3ForNamespace(), generateSqlite3ForPage(), insertMemberDefineParams(), insertMemberFunctionParams(), insertMemberReference(), insertPath(), memberdefExists(), memberdefIncomplete(), writeInnerClasses(), writeInnerConcepts(), writeInnerDirs(), writeInnerFiles(), writeInnerGroups(), writeInnerModules(), writeInnerNamespaces(), and writeInnerPages().
Definition at line 862 of file sqlite3gen.cpp.
References QCString::data(), SqlStmt::db, err, SqlStmt::query, and SqlStmt::stmt.
Referenced by generateSqlite3ForClass(), generateSqlite3ForConcept(), generateSqlite3ForDir(), generateSqlite3ForFile(), generateSqlite3ForGroup(), generateSqlite3ForMember(), generateSqlite3ForModule(), generateSqlite3ForNamespace(), generateSqlite3ForPage(), getSQLDesc(), getSQLDescCompound(), insertMemberDefineParams(), insertMemberFunctionParams(), insertMemberReference(), insertPath(), insertRefid(), recordMetadata(), and writeTemplateArgumentList().
|
static |
Definition at line 983 of file sqlite3gen.cpp.
References bindIntParameter(), compounddef_exists, Refid::refid, step(), and TRUE.
Referenced by generateSqlite3ForClass(), generateSqlite3ForConcept(), generateSqlite3ForDir(), generateSqlite3ForFile(), generateSqlite3ForGroup(), generateSqlite3ForModule(), generateSqlite3ForNamespace(), and generateSqlite3ForPage().
|
static |
Definition at line 1200 of file sqlite3gen.cpp.
Referenced by generateSqlite3().
void generateSqlite3 | ( | ) |
Definition at line 2588 of file sqlite3gen.cpp.
References beginTransaction(), Doxygen::classLinkedMap, Doxygen::conceptLinkedMap, Doxygen::dirLinkedMap, endTransaction(), err, Doxygen::exampleLinkedMap, FALSE, generateSqlite3ForClass(), generateSqlite3ForConcept(), generateSqlite3ForDir(), generateSqlite3ForFile(), generateSqlite3ForGroup(), generateSqlite3ForModule(), generateSqlite3ForNamespace(), generateSqlite3ForPage(), Doxygen::groupLinkedMap, initializeTables(), initializeViews(), Doxygen::inputNameLinkedMap, ModuleManager::instance(), Doxygen::mainPage, msg(), Doxygen::namespaceLinkedMap, openDbConnection(), Doxygen::pageLinkedMap, pragmaTuning(), prepareStatements(), qPrint(), recordMetadata(), and TRUE.
Referenced by generateOutput().
|
static |
Definition at line 1915 of file sqlite3gen.cpp.
References FileDef::absFilePath(), associateAllClassMembers(), ClassDef::baseClasses(), bindIntParameter(), bindTextParameter(), Definition::briefDescription(), compounddef_insert, compounddefExists(), compoundref_insert, ClassDef::compoundTypeString(), DBG_CTX, FileDef::docName(), Definition::documentation(), IncludeInfo::fileDef, generateSqlite3Section(), ClassDef::getClasses(), Definition::getDefColumn(), Definition::getDefFileName(), Definition::getDefLine(), ClassDef::getMemberGroups(), ClassDef::getMemberLists(), Definition::getOutputFileBase(), getSQLDescCompound(), ClassDef::includeInfo(), IncludeInfo::includeName, insertPath(), insertRefid(), Definition::isAnonymous(), MemberListType::isDetailed(), QCString::isEmpty(), Definition::isHidden(), Definition::isReference(), MemberList::listType(), Definition::name(), ClassDef::protection(), qPrint(), Refid::refid, Refid::rowid, step(), ClassDef::subClasses(), ClassDef::templateMaster(), ClassDef::title(), writeInnerClasses(), and writeTemplateList().
Referenced by generateSqlite3().
|
static |
Definition at line 2063 of file sqlite3gen.cpp.
References bindIntParameter(), bindTextParameter(), Definition::briefDescription(), compounddef_insert, compounddefExists(), Definition::documentation(), Definition::getDefColumn(), Definition::getDefFileName(), Definition::getDefLine(), Definition::getOutputFileBase(), getSQLDescCompound(), insertPath(), insertRefid(), Definition::isHidden(), Definition::isReference(), Definition::name(), Refid::refid, step(), and writeTemplateList().
Referenced by generateSqlite3().
|
static |
Definition at line 2424 of file sqlite3gen.cpp.
References bindIntParameter(), bindTextParameter(), Definition::briefDescription(), compounddef_insert, compounddefExists(), Definition::displayName(), Definition::documentation(), Definition::getDefColumn(), Definition::getDefFileName(), Definition::getDefLine(), DirDef::getFiles(), Definition::getOutputFileBase(), getSQLDesc(), insertPath(), insertRefid(), Definition::isReference(), Refid::refid, step(), DirDef::subDirs(), TRUE, writeInnerDirs(), and writeInnerFiles().
Referenced by generateSqlite3().
|
static |
Definition at line 2200 of file sqlite3gen.cpp.
References FileDef::absFilePath(), bindIntParameter(), bindTextParameter(), Definition::briefDescription(), compounddef_insert, compounddefExists(), DBG_CTX, Definition::documentation(), FALSE, generateSqlite3Section(), FileDef::getClasses(), FileDef::getConcepts(), Definition::getDefColumn(), Definition::getDefFileName(), Definition::getDefLine(), FileDef::getMemberGroups(), FileDef::getMemberLists(), FileDef::getNamespaces(), Definition::getOutputFileBase(), getSQLDesc(), incl_insert, incl_select, FileDef::includedByFileList(), FileDef::includeFileList(), IncludeKind_ImportMask, IncludeKind_LocalMask, insertPath(), insertRefid(), MemberListType::isDeclaration(), Definition::isReference(), MemberList::listType(), Definition::name(), qPrint(), Refid::refid, step(), QCString::stripPrefix(), FileDef::title(), TRUE, writeInnerClasses(), writeInnerConcepts(), and writeInnerNamespaces().
Referenced by generateSqlite3().
|
static |
Definition at line 2351 of file sqlite3gen.cpp.
References bindIntParameter(), bindTextParameter(), Definition::briefDescription(), compounddef_insert, compounddefExists(), Definition::documentation(), generateSqlite3Section(), GroupDef::getClasses(), GroupDef::getConcepts(), Definition::getDefColumn(), Definition::getDefFileName(), Definition::getDefLine(), GroupDef::getFiles(), GroupDef::getMemberGroups(), GroupDef::getMemberLists(), GroupDef::getModules(), GroupDef::getNamespaces(), Definition::getOutputFileBase(), GroupDef::getPages(), getSQLDesc(), GroupDef::getSubGroups(), GroupDef::groupTitle(), insertPath(), insertRefid(), MemberListType::isDeclaration(), Definition::isReference(), MemberList::listType(), Definition::name(), Refid::refid, step(), writeInnerClasses(), writeInnerConcepts(), writeInnerFiles(), writeInnerGroups(), writeInnerModules(), writeInnerNamespaces(), and writeInnerPages().
Referenced by generateSqlite3().
|
static |
Definition at line 1554 of file sqlite3gen.cpp.
References FileDef::absFilePath(), Definition::anchor(), MemberDef::argsString(), MemberDef::argumentList(), associateMember(), QCString::at(), bindIntParameter(), bindTextParameter(), MemberDef::bitfieldString(), Definition::briefDescription(), ArgumentList::constSpecifier(), DBG_CTX, DCOP, Define, MemberDef::definition(), Definition::documentation(), Enumeration, EnumValue, Event, FALSE, Friend, Function, Definition::getBodyDef(), Definition::getDefColumn(), Definition::getDefFileName(), Definition::getDefLine(), Definition::getEndBodyLine(), Definition::getOutputFileBase(), MemberDef::getReadAccessor(), Definition::getReferencedByMembers(), Definition::getReferencesMembers(), MemberDef::getScopeString(), getSQLDesc(), Definition::getStartBodyLine(), MemberDef::getWriteAccessor(), MemberDef::hasMultiLineInitializer(), MemberDef::hasOneLineInitializer(), Definition::inbodyDocumentation(), MemberDef::initializer(), insertMemberDefineParams(), insertMemberFunctionParams(), insertMemberReference(), insertPath(), insertRefid(), MemberDef::isAddable(), MemberDef::isAssign(), MemberDef::isAttribute(), MemberDef::isBound(), MemberDef::isConstrained(), MemberDef::isCopy(), QCString::isEmpty(), MemberDef::isExplicit(), MemberDef::isExternal(), MemberDef::isFinal(), MemberDef::isGettable(), Definition::isHidden(), MemberDef::isInitonly(), MemberDef::isInline(), MemberDef::isMaybeAmbiguous(), MemberDef::isMaybeDefault(), MemberDef::isMaybeVoid(), MemberDef::isMutable(), MemberDef::isNew(), MemberDef::isOptional(), MemberDef::isPrivateGettable(), MemberDef::isPrivateSettable(), MemberDef::isProperty(), MemberDef::isProtectedGettable(), MemberDef::isProtectedSettable(), MemberDef::isRaisable(), MemberDef::isReadable(), MemberDef::isReadonly(), Definition::isReference(), MemberDef::isRemovable(), MemberDef::isRequired(), MemberDef::isRetain(), MemberDef::isSealed(), MemberDef::isSettable(), MemberDef::isStatic(), MemberDef::isStrong(), MemberDef::isTransient(), MemberDef::isWeak(), MemberDef::isWritable(), linkifyText(), memberdef_insert, memberdef_update_decl, memberdef_update_def, memberdefExists(), memberdefIncomplete(), MemberDef::memberType(), MemberDef::memberTypeName(), QCString::mid(), Definition::name(), Property, MemberDef::protection(), qPrint(), Refid::refid, MemberDef::reimplements(), reimplements_insert, Refid::rowid, Signal, Slot, step(), SqlStmt::stmt, stripQualifiers(), QCString::stripWhiteSpace(), TRUE, Typedef, MemberDef::typeString(), Variable, MemberDef::virtualness(), ArgumentList::volatileSpecifier(), and writeMemberTemplateLists().
Referenced by generateSqlite3Section().
|
static |
Definition at line 2087 of file sqlite3gen.cpp.
References bindIntParameter(), bindTextParameter(), Definition::briefDescription(), compounddef_insert, compounddefExists(), Definition::documentation(), generateSqlite3Section(), ModuleDef::getClasses(), ModuleDef::getConcepts(), Definition::getDefColumn(), Definition::getDefFileName(), Definition::getDefLine(), ModuleDef::getMemberGroups(), ModuleDef::getMemberLists(), Definition::getOutputFileBase(), getSQLDescCompound(), ModuleDef::getUsedFiles(), insertPath(), insertRefid(), MemberListType::isDeclaration(), Definition::isHidden(), Definition::isReference(), MemberList::listType(), Definition::name(), Refid::refid, step(), writeInnerClasses(), writeInnerConcepts(), and writeInnerFiles().
Referenced by generateSqlite3().
|
static |
Definition at line 2143 of file sqlite3gen.cpp.
References bindIntParameter(), bindTextParameter(), Definition::briefDescription(), compounddef_insert, compounddefExists(), Definition::documentation(), generateSqlite3Section(), NamespaceDef::getClasses(), NamespaceDef::getConcepts(), Definition::getDefColumn(), Definition::getDefFileName(), Definition::getDefLine(), NamespaceDef::getMemberGroups(), NamespaceDef::getMemberLists(), NamespaceDef::getNamespaces(), Definition::getOutputFileBase(), getSQLDescCompound(), insertPath(), insertRefid(), MemberListType::isDeclaration(), Definition::isHidden(), Definition::isReference(), MemberList::listType(), Definition::name(), Refid::refid, step(), NamespaceDef::title(), writeInnerClasses(), writeInnerConcepts(), and writeInnerNamespaces().
Referenced by generateSqlite3().
|
static |
Definition at line 2469 of file sqlite3gen.cpp.
References bindIntParameter(), bindTextParameter(), Definition::briefDescription(), compounddef_insert, compounddefExists(), Config_getString, convertCharEntitiesToUTF8(), Definition::documentation(), filterTitle(), LinkedMap< T, Hash, KeyEqual, Map >::find(), Definition::getDefColumn(), Definition::getDefFileName(), Definition::getDefLine(), PageDef::getGroupDef(), Definition::getOutputFileBase(), getSQLDesc(), PageDef::getSubPages(), insertPath(), insertRefid(), SectionManager::instance(), QCString::isEmpty(), Definition::isReference(), Doxygen::mainPage, mainPageHasTitle(), Definition::name(), Refid::refid, step(), PageDef::title(), SectionInfo::title(), and writeInnerPages().
Referenced by generateSqlite3().
|
static |
Definition at line 1879 of file sqlite3gen.cpp.
References Definition::definitionType(), generateSqlite3ForMember(), and Definition::TypeFile.
Referenced by generateSqlite3ForClass(), generateSqlite3ForFile(), generateSqlite3ForGroup(), generateSqlite3ForModule(), and generateSqlite3ForNamespace().
|
static |
Definition at line 1449 of file sqlite3gen.cpp.
References bindTextParameter(), Definition::docFile(), Definition::docLine(), Definition::getOuterScope(), and getSQLDocBlock().
Referenced by generateSqlite3ForDir(), generateSqlite3ForFile(), generateSqlite3ForGroup(), generateSqlite3ForMember(), and generateSqlite3ForPage().
|
static |
Definition at line 1464 of file sqlite3gen.cpp.
References bindTextParameter(), Definition::docFile(), Definition::docLine(), and getSQLDocBlock().
Referenced by generateSqlite3ForClass(), generateSqlite3ForConcept(), generateSqlite3ForModule(), and generateSqlite3ForNamespace().
QCString getSQLDocBlock | ( | const Definition * | scope, |
const Definition * | def, | ||
const QCString & | doc, | ||
const QCString & | fileName, | ||
int | lineNr ) |
Definition at line 1412 of file sqlite3gen.cpp.
References OutputCodeList::add(), Config_getBool, convertCharEntitiesToUTF8(), createDocParser(), FALSE, Definition::getDefFileExtension(), QCString::isEmpty(), TextStream::str(), toMemberDef(), and validatingParseDoc().
Referenced by getSQLDesc(), and getSQLDescCompound().
|
static |
Definition at line 1214 of file sqlite3gen.cpp.
References err, msg(), and table_schema.
Referenced by generateSqlite3().
|
static |
Definition at line 1231 of file sqlite3gen.cpp.
References err, msg(), and view_schema.
Referenced by generateSqlite3().
|
static |
Definition at line 1097 of file sqlite3gen.cpp.
References MemberDef::argumentList(), bindIntParameter(), bindTextParameter(), DBG_CTX, ArgumentList::empty(), memberdef_param_insert, param_insert, step(), and TRUE.
Referenced by generateSqlite3ForMember().
|
static |
Definition at line 1021 of file sqlite3gen.cpp.
References Definition::anchor(), MemberDef::argumentList(), ArgumentList::begin(), bindIntParameter(), bindTextParameter(), DBG_CTX, MemberDef::declArgumentList(), ArgumentList::end(), Definition::getBodyDef(), Definition::getOutputFileBase(), insertMemberReference(), insertRefid(), QCString::isEmpty(), linkifyText(), memberdef_param_insert, Argument::name, param_insert, param_select, ArgumentList::size(), step(), and TRUE.
Referenced by generateSqlite3ForMember().
|
static |
Definition at line 1011 of file sqlite3gen.cpp.
References Definition::anchor(), Definition::getOutputFileBase(), insertMemberReference(), and insertRefid().
|
static |
Definition at line 990 of file sqlite3gen.cpp.
References bindIntParameter(), bindTextParameter(), Refid::rowid, step(), and xrefs_insert.
Referenced by generateSqlite3ForMember(), insertMemberFunctionParams(), and insertMemberReference().
Definition at line 910 of file sqlite3gen.cpp.
References bindIntParameter(), bindTextParameter(), QCString::data(), found, path_insert, path_select, step(), stripFromPath(), and TRUE.
Referenced by generateSqlite3ForClass(), generateSqlite3ForConcept(), generateSqlite3ForDir(), generateSqlite3ForFile(), generateSqlite3ForGroup(), generateSqlite3ForMember(), generateSqlite3ForModule(), generateSqlite3ForNamespace(), and generateSqlite3ForPage().
Definition at line 948 of file sqlite3gen.cpp.
References bindTextParameter(), Refid::created, FALSE, insertRefid(), QCString::isEmpty(), Refid::refid, refid_insert, refid_select, Refid::rowid, step(), and TRUE.
Referenced by associateAllClassMembers(), generateSqlite3ForClass(), generateSqlite3ForConcept(), generateSqlite3ForDir(), generateSqlite3ForFile(), generateSqlite3ForGroup(), generateSqlite3ForMember(), generateSqlite3ForModule(), generateSqlite3ForNamespace(), generateSqlite3ForPage(), insertMemberFunctionParams(), insertMemberReference(), insertRefid(), writeInnerClasses(), writeInnerConcepts(), writeInnerDirs(), writeInnerFiles(), writeInnerGroups(), writeInnerModules(), writeInnerNamespaces(), and writeInnerPages().
|
static |
Definition at line 968 of file sqlite3gen.cpp.
References bindIntParameter(), memberdef_exists, Refid::refid, step(), and TRUE.
Referenced by generateSqlite3ForMember().
Definition at line 975 of file sqlite3gen.cpp.
References bindIntParameter(), MemberDef::isInline(), memberdef_incomplete, Refid::refid, step(), and TRUE.
Referenced by generateSqlite3ForMember().
|
static |
Definition at line 2544 of file sqlite3gen.cpp.
References FileInfo::absFilePath(), Config_getBool, Config_getString, err, FileInfo::exists(), Dir::remove(), and QCString::str().
Referenced by generateSqlite3().
|
static |
Definition at line 1206 of file sqlite3gen.cpp.
Referenced by generateSqlite3().
|
static |
Definition at line 1149 of file sqlite3gen.cpp.
References SqlStmt::db, err, SqlStmt::query, and SqlStmt::stmt.
Referenced by prepareStatements().
|
static |
Definition at line 1162 of file sqlite3gen.cpp.
References compounddef_exists, compounddef_insert, compoundref_insert, contains_insert, incl_insert, incl_select, member_insert, memberdef_exists, memberdef_incomplete, memberdef_insert, memberdef_param_insert, memberdef_update_decl, memberdef_update_def, meta_insert, param_insert, param_select, path_insert, path_select, prepareStatement(), refid_insert, refid_select, reimplements_insert, and xrefs_insert.
Referenced by generateSqlite3().
|
static |
Definition at line 930 of file sqlite3gen.cpp.
References bindTextParameter(), Config_getString, Date, DateTime, dateToString(), meta_insert, and step().
Referenced by generateSqlite3().
Definition at line 892 of file sqlite3gen.cpp.
References SqlStmt::db, DBG_CTX, FALSE, and SqlStmt::stmt.
Referenced by associateMember(), compounddefExists(), generateSqlite3ForClass(), generateSqlite3ForConcept(), generateSqlite3ForDir(), generateSqlite3ForFile(), generateSqlite3ForGroup(), generateSqlite3ForMember(), generateSqlite3ForModule(), generateSqlite3ForNamespace(), generateSqlite3ForPage(), insertMemberDefineParams(), insertMemberFunctionParams(), insertMemberReference(), insertPath(), insertRefid(), memberdefExists(), memberdefIncomplete(), recordMetadata(), writeInnerClasses(), writeInnerConcepts(), writeInnerDirs(), writeInnerFiles(), writeInnerGroups(), writeInnerModules(), writeInnerNamespaces(), writeInnerPages(), and writeTemplateArgumentList().
|
static |
Definition at line 1137 of file sqlite3gen.cpp.
References FALSE, QCString::stripPrefix(), and TRUE.
Referenced by generateSqlite3ForMember().
|
static |
Definition at line 1261 of file sqlite3gen.cpp.
References bindIntParameter(), contains_insert, insertRefid(), Refid::rowid, and step().
Referenced by generateSqlite3ForClass(), generateSqlite3ForFile(), generateSqlite3ForGroup(), generateSqlite3ForModule(), and generateSqlite3ForNamespace().
|
static |
Definition at line 1276 of file sqlite3gen.cpp.
References bindIntParameter(), contains_insert, insertRefid(), Refid::rowid, and step().
Referenced by generateSqlite3ForFile(), generateSqlite3ForGroup(), generateSqlite3ForModule(), and generateSqlite3ForNamespace().
Definition at line 1339 of file sqlite3gen.cpp.
References bindIntParameter(), contains_insert, insertRefid(), Refid::rowid, and step().
Referenced by generateSqlite3ForDir().
Definition at line 1327 of file sqlite3gen.cpp.
References bindIntParameter(), contains_insert, insertRefid(), Refid::rowid, and step().
Referenced by generateSqlite3ForDir(), generateSqlite3ForGroup(), and generateSqlite3ForModule().
Definition at line 1315 of file sqlite3gen.cpp.
References bindIntParameter(), contains_insert, insertRefid(), Refid::rowid, and step().
Referenced by generateSqlite3ForGroup().
|
static |
Definition at line 1288 of file sqlite3gen.cpp.
References bindIntParameter(), contains_insert, insertRefid(), Refid::rowid, and step().
Referenced by generateSqlite3ForGroup().
|
static |
Definition at line 1351 of file sqlite3gen.cpp.
References bindIntParameter(), contains_insert, insertRefid(), Refid::rowid, and step().
Referenced by generateSqlite3ForFile(), generateSqlite3ForGroup(), and generateSqlite3ForNamespace().
|
static |
Definition at line 1301 of file sqlite3gen.cpp.
References bindIntParameter(), contains_insert, insertRefid(), Refid::rowid, and step().
Referenced by generateSqlite3ForGroup(), and generateSqlite3ForPage().
|
static |
Definition at line 1397 of file sqlite3gen.cpp.
References MemberDef::getClassDef(), MemberDef::getFileDef(), MemberDef::templateArguments(), and writeTemplateArgumentList().
Referenced by generateSqlite3ForMember().
|
static |
Definition at line 1367 of file sqlite3gen.cpp.
References bindTextParameter(), param_insert, param_select, step(), and TRUE.
Referenced by writeMemberTemplateLists(), writeTemplateList(), and writeTemplateList().
|
static |
Definition at line 1402 of file sqlite3gen.cpp.
References ClassDef::getFileDef(), ClassDef::templateArguments(), and writeTemplateArgumentList().
Referenced by generateSqlite3ForClass(), and generateSqlite3ForConcept().
|
static |
Definition at line 1407 of file sqlite3gen.cpp.
References ConceptDef::getFileDef(), ConceptDef::getTemplateParameterList(), and writeTemplateArgumentList().
SqlStmt compounddef_exists |
Definition at line 791 of file sqlite3gen.cpp.
Referenced by compounddefExists(), and prepareStatements().
SqlStmt compounddef_insert |
Definition at line 760 of file sqlite3gen.cpp.
Referenced by generateSqlite3ForClass(), generateSqlite3ForConcept(), generateSqlite3ForDir(), generateSqlite3ForFile(), generateSqlite3ForGroup(), generateSqlite3ForModule(), generateSqlite3ForNamespace(), generateSqlite3ForPage(), and prepareStatements().
SqlStmt compoundref_insert |
Definition at line 798 of file sqlite3gen.cpp.
Referenced by generateSqlite3ForClass(), and prepareStatements().
SqlStmt contains_insert |
Definition at line 539 of file sqlite3gen.cpp.
Referenced by prepareStatements(), writeInnerClasses(), writeInnerConcepts(), writeInnerDirs(), writeInnerFiles(), writeInnerGroups(), writeInnerModules(), writeInnerNamespaces(), and writeInnerPages().
SqlStmt incl_insert |
Definition at line 526 of file sqlite3gen.cpp.
Referenced by generateSqlite3ForFile(), and prepareStatements().
SqlStmt incl_select |
Definition at line 533 of file sqlite3gen.cpp.
Referenced by generateSqlite3ForFile(), and prepareStatements().
SqlStmt member_insert |
Definition at line 752 of file sqlite3gen.cpp.
Referenced by associateMember(), and prepareStatements().
SqlStmt memberdef_exists |
Definition at line 586 of file sqlite3gen.cpp.
Referenced by memberdefExists(), and prepareStatements().
SqlStmt memberdef_incomplete |
Definition at line 591 of file sqlite3gen.cpp.
Referenced by memberdefIncomplete(), and prepareStatements().
SqlStmt memberdef_insert |
Definition at line 599 of file sqlite3gen.cpp.
Referenced by generateSqlite3ForMember(), and prepareStatements().
SqlStmt memberdef_param_insert |
Definition at line 825 of file sqlite3gen.cpp.
Referenced by insertMemberDefineParams(), insertMemberFunctionParams(), and prepareStatements().
SqlStmt memberdef_update_decl |
Definition at line 727 of file sqlite3gen.cpp.
Referenced by generateSqlite3ForMember(), and prepareStatements().
SqlStmt memberdef_update_def |
Definition at line 739 of file sqlite3gen.cpp.
Referenced by generateSqlite3ForMember(), and prepareStatements().
SqlStmt meta_insert |
Definition at line 518 of file sqlite3gen.cpp.
Referenced by prepareStatements(), and recordMetadata().
SqlStmt param_insert |
Definition at line 817 of file sqlite3gen.cpp.
Referenced by insertMemberDefineParams(), insertMemberFunctionParams(), prepareStatements(), and writeTemplateArgumentList().
SqlStmt param_select |
Definition at line 806 of file sqlite3gen.cpp.
Referenced by insertMemberFunctionParams(), prepareStatements(), and writeTemplateArgumentList().
SqlStmt path_insert |
Definition at line 551 of file sqlite3gen.cpp.
Referenced by insertPath(), and prepareStatements().
SqlStmt path_select |
Definition at line 547 of file sqlite3gen.cpp.
Referenced by insertPath(), and prepareStatements().
SqlStmt refid_insert |
Definition at line 563 of file sqlite3gen.cpp.
Referenced by insertRefid(), and prepareStatements().
SqlStmt refid_select |
Definition at line 559 of file sqlite3gen.cpp.
Referenced by insertRefid(), and prepareStatements().
SqlStmt reimplements_insert |
Definition at line 578 of file sqlite3gen.cpp.
Referenced by generateSqlite3ForMember(), and prepareStatements().
const char* table_schema[][2] |
Definition at line 77 of file sqlite3gen.cpp.
Referenced by initializeTables().
const char* view_schema[][2] |
Definition at line 301 of file sqlite3gen.cpp.
Referenced by initializeViews().
SqlStmt xrefs_insert |
Definition at line 571 of file sqlite3gen.cpp.
Referenced by insertMemberReference(), and prepareStatements().