DbStruct Pile   version 0.0.1
This pile contains classes that can be used to
pileschema.QtDriver Class Reference
+ Inheritance diagram for pileschema.QtDriver:

Public Member Functions

def __init__
 
def database_start (self, name, node)
 
def database_end (self, name, node)
 
def bootstrap_data (self, name)
 
def table_start (self, name, node)
 
def fill_table_data (self, name)
 
def table_end (self, name, node)
 
def column (self, name, label, datatype, nulls, node, dtnode)
 
def view_start (self, name, node)
 
def view_end (self, name, node)
 
def view_subset (self, node, subset)
 
def get_template (self, which)
 
- Public Member Functions inherited from pileschema.Driver
def __init__ (self)
 
def database_start (self, name, node)
 
def database_end (self, name, node)
 
def table_start (self, name, node)
 
def table_end (self, name, node)
 
def column (self, name, label, datatype, nulls, node, dtnode)
 
def view_start (self, name, node)
 
def view_end (self, name, node)
 
def view_subset (self, node, subset)
 
def check_foreign_keys (self)
 

Public Attributes

 out_dir
 
 template_dir
 
 data
 
 templates
 
 db_name
 
 import_header
 
 namespace
 
 export_macro
 
 base_class
 
 tables
 
 views
 
 columns
 
 vrtcols
 
- Public Attributes inherited from pileschema.Driver
 views
 
 tables
 

Additional Inherited Members

- Static Public Member Functions inherited from pileschema.Driver
def get_foreign_key (node)
 

Detailed Description

Build C++ classes with Qt support.

Member Function Documentation

def pileschema.QtDriver.bootstrap_data (   self,
  name 
)
Add common data in the variable map
def pileschema.QtDriver.column (   self,
  name,
  label,
  datatype,
  nulls,
  node,
  dtnode 
)
Processing a column
def pileschema.QtDriver.database_end (   self,
  name,
  node 
)
Done processing database `name.`
def pileschema.QtDriver.database_start (   self,
  name,
  node 
)
Starting to process database `name`
def pileschema.QtDriver.fill_table_data (   self,
  name 
)
Prepare values for variables in the context of this table
def pileschema.QtDriver.get_template (   self,
  which 
)
Read the content of a template file
def pileschema.QtDriver.table_end (   self,
  name,
  node 
)
Done processing table `name`
def pileschema.QtDriver.table_start (   self,
  name,
  node 
)
Starting to process table `name`
def pileschema.QtDriver.view_end (   self,
  name,
  node 
)
Done processing view `name`
def pileschema.QtDriver.view_start (   self,
  name,
  node 
)
Starting to process view `name`
def pileschema.QtDriver.view_subset (   self,
  node,
  subset 
)
Process a subset in a view

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