CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Static Public Attributes
reference_db.ReferenceDB Class Reference

Public Member Functions

def __init__
 
def addRelease
 
def create
 
def deleteRelease
 
def drop
 
def listReleases
 
def read
 

Public Attributes

 conn
 

Static Public Attributes

tuple curs = self.conn.cursor()
 
list l = []
 
tuple r = ( row[0], row[1], row[2] )
 
tuple relID = ExtractID(release)
 
string sqlstr = "CREATE TABLE VERSION_TABLE (ID NUMBER, RELEASE VARCHAR2(50), ARCH VARCHAR2(30), PATH VARCHAR(255), CONSTRAINT PK_ID PRIMARY KEY(RELEASE, ARCH) )"
 

Detailed Description

Definition at line 23 of file reference_db.py.

Constructor & Destructor Documentation

def reference_db.ReferenceDB.__init__ (   self,
  connect 
)

Definition at line 24 of file reference_db.py.

24 
25  def __init__(self, connect):
26  self.conn = connect

Member Function Documentation

def reference_db.ReferenceDB.addRelease (   self,
  release,
  arch,
  path 
)

Definition at line 54 of file reference_db.py.

54 
def addRelease( self, release, arch, path):
def reference_db.ReferenceDB.create (   self)

Definition at line 27 of file reference_db.py.

27 
def create( self ):
def reference_db.ReferenceDB.deleteRelease (   self,
  release,
  arch 
)

Definition at line 39 of file reference_db.py.

39 
def deleteRelease( self, release, arch):
def reference_db.ReferenceDB.drop (   self)

Definition at line 33 of file reference_db.py.

33 
def drop( self ):
def reference_db.ReferenceDB.listReleases (   self,
  relID 
)

Definition at line 63 of file reference_db.py.

63 
64  def listReleases(self, relID):
curs = self.conn.cursor()
def reference_db.ReferenceDB.read (   self)

Definition at line 46 of file reference_db.py.

Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor.goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor.setFilterBranches().

46 
def read( self ):

Member Data Documentation

reference_db.ReferenceDB.conn

Definition at line 25 of file reference_db.py.

tuple reference_db.ReferenceDB.curs = self.conn.cursor()
static

Definition at line 28 of file reference_db.py.

list reference_db.ReferenceDB.l = []
static

Definition at line 68 of file reference_db.py.

Referenced by SequenceTypes.ExpandVisitor.leave(), SequenceTypes.DecoratedNodeNameVisitor.leave(), and SequenceTypes.ExpandVisitor.result().

tuple reference_db.ReferenceDB.r = ( row[0], row[1], row[2] )
static

Definition at line 70 of file reference_db.py.

tuple reference_db.ReferenceDB.relID = ExtractID(release)
static

Definition at line 56 of file reference_db.py.

string reference_db.ReferenceDB.sqlstr = "CREATE TABLE VERSION_TABLE (ID NUMBER, RELEASE VARCHAR2(50), ARCH VARCHAR2(30), PATH VARCHAR(255), CONSTRAINT PK_ID PRIMARY KEY(RELEASE, ARCH) )"
static

Definition at line 29 of file reference_db.py.