File: db_8py.tex

package info (click to toggle)
scolasync 5.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 16,424 kB
  • sloc: javascript: 4,094; python: 3,849; xml: 3,814; makefile: 116; sh: 31
file content (39 lines) | stat: -rw-r--r-- 3,011 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
\hypertarget{db_8py}{}\doxysection{Référence du fichier src/db.py}
\label{db_8py}\index{src/db.py@{src/db.py}}
\doxysubsection*{Espaces de nommage}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespacesrc_1_1db}{src.\+db}}
\end{DoxyCompactItemize}
\doxysubsection*{Fonctions}
\begin{DoxyCompactItemize}
\item 
def \mbox{\hyperlink{namespacesrc_1_1db_a0df14ce45b703f8486dc9205ac9246ad}{src.\+db.\+open\+Db}} ()
\begin{DoxyCompactList}\small\item\em Ouverture de la base de données de l\textquotesingle{}application, et création si nécessaire. \end{DoxyCompactList}\item 
def \mbox{\hyperlink{namespacesrc_1_1db_ada90bce10163107c35dd61955edf9307}{src.\+db.\+check\+Version}} (major, minor)
\item 
def \mbox{\hyperlink{namespacesrc_1_1db_a4cce1a7772d666bb9c52a2d4ba22c9cd}{src.\+db.\+has\+Student}} (student)
\begin{DoxyCompactList}\small\item\em vérifie qu\textquotesingle{}un étudiant est déjà connu \end{DoxyCompactList}\item 
def \mbox{\hyperlink{namespacesrc_1_1db_a708cc3325644f79a8da6817cf131e3e8}{src.\+db.\+knows\+Id}} (stickid, uuid, tattoo)
\begin{DoxyCompactList}\small\item\em dit si une clé U\+SB est déjà connue \end{DoxyCompactList}\item 
def \mbox{\hyperlink{namespacesrc_1_1db_a2734729596ad4aa825ed66b97ddd7209}{src.\+db.\+tattoo\+List}} ()
\begin{DoxyCompactList}\small\item\em Renvoie la liste des tatouages connus de la base de données. \end{DoxyCompactList}\item 
def \mbox{\hyperlink{namespacesrc_1_1db_a9afc0ee6dce3ce82783bb0aaa349532f}{src.\+db.\+read\+Student}} (stickid, uuid, tattoo)
\begin{DoxyCompactList}\small\item\em renvoie l\textquotesingle{}étudiant qui possède une clé U\+SB \end{DoxyCompactList}\item 
def \mbox{\hyperlink{namespacesrc_1_1db_a1a44074f833d8283643343b09cff02b6}{src.\+db.\+read\+Prefs}} ()
\begin{DoxyCompactList}\small\item\em renvoie les préférences de Scola\+Sync \end{DoxyCompactList}\item 
def \mbox{\hyperlink{namespacesrc_1_1db_ada6f363fccebc105cf7ca85bdb5eccdc}{src.\+db.\+set\+Wd}} (new\+Dir)
\begin{DoxyCompactList}\small\item\em définit le nouveau nom du répertoire de travail préféré. \end{DoxyCompactList}\item 
def \mbox{\hyperlink{namespacesrc_1_1db_ab88098a0a4df23901dffda6197968088}{src.\+db.\+write\+Student}} (stickid, uuid, tattoo, student)
\begin{DoxyCompactList}\small\item\em inscrit un étudiant comme propriétaire d\textquotesingle{}une clé U\+SB \end{DoxyCompactList}\item 
def \mbox{\hyperlink{namespacesrc_1_1db_a6628948dc0e29baf0d368288dbb676be}{src.\+db.\+write\+Prefs}} (prefs)
\begin{DoxyCompactList}\small\item\em inscrit les préférences \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
dictionary \mbox{\hyperlink{namespacesrc_1_1db_aa073cf63c80489da19924aaa911726f3}{src.\+db.\+licence}} = \{\}
\item 
\mbox{\hyperlink{namespacesrc_1_1db_a11a7f300f3f10c0ab24cf7b95cc4e5b2}{src.\+db.\+database}} = None
\item 
\mbox{\hyperlink{namespacesrc_1_1db_a23dd9ed4abbc2dcd952158347944fe39}{src.\+db.\+cursor}} = None
\end{DoxyCompactItemize}