Baby Language Lab Scripts
A collection of data processing tools.
 All Classes Namespaces Files Functions Variables Pages
db.bll_database.DBConstants Class Reference

This class does an initial SQL select on database 'lookup tables' (tables containing information that is frequently used, but never updated while the program is running), and provides acess to this information in the form of a number of static data structures. More...

Inheritance diagram for db.bll_database.DBConstants:

Static Public Attributes

string DB_DATETIME_FMT = '%Y-%m-%d %H:%M:%S'
 
 TRANS_CODES = None
 
 LENA_NOTES_CODES = None
 
 SPEAKER_CODES = None
 
 SPEAKER_TYPES = None
 
 SPEAKER_DISTANCES = None
 
 SPEAKER_PROPS = None
 
 SETTINGS = None
 
 COMMON_REGEXS = None
 
 COMBO_GROUPS = None
 
 COMBO_OPTIONS = None
 
 COMBOS = None
 

Detailed Description

This class does an initial SQL select on database 'lookup tables' (tables containing information that is frequently used, but never updated while the program is running), and provides acess to this information in the form of a number of static data structures.

This way, the lookup table info is only retreived from the database once at the start of the application. In addition, code that needs this data can retrieve it without worrying about building SQL statements and executing them. See the code for an in-comment description of each data structure.

Definition at line 275 of file bll_database.py.

Member Data Documentation

db.bll_database.DBConstants.COMBO_GROUPS = None
static

Definition at line 299 of file bll_database.py.

db.bll_database.DBConstants.COMBO_OPTIONS = None
static

Definition at line 301 of file bll_database.py.

db.bll_database.DBConstants.COMBOS = None
static

Definition at line 303 of file bll_database.py.

db.bll_database.DBConstants.COMMON_REGEXS = None
static

Definition at line 296 of file bll_database.py.

string db.bll_database.DBConstants.DB_DATETIME_FMT = '%Y-%m-%d %H:%M:%S'
static

Definition at line 277 of file bll_database.py.

db.bll_database.DBConstants.LENA_NOTES_CODES = None
static

Definition at line 282 of file bll_database.py.

db.bll_database.DBConstants.SETTINGS = None
static

Definition at line 294 of file bll_database.py.

db.bll_database.DBConstants.SPEAKER_CODES = None
static

Definition at line 284 of file bll_database.py.

db.bll_database.DBConstants.SPEAKER_DISTANCES = None
static

Definition at line 289 of file bll_database.py.

db.bll_database.DBConstants.SPEAKER_PROPS = None
static

Definition at line 291 of file bll_database.py.

db.bll_database.DBConstants.SPEAKER_TYPES = None
static

Definition at line 287 of file bll_database.py.

db.bll_database.DBConstants.TRANS_CODES = None
static

Definition at line 280 of file bll_database.py.


The documentation for this class was generated from the following file: