Agroeye  1.0
Public Member Functions | Public Attributes | List of all members
agroeyepy.Control.db_connection.ConnectDatabase Class Reference

Opens database. More...

Inheritance diagram for agroeyepy.Control.db_connection.ConnectDatabase:
Collaboration diagram for agroeyepy.Control.db_connection.ConnectDatabase:

Public Member Functions

def __init__ (self, name, epsg, parent=None)
 
def checkName (self, name)
 Check if filename is valid. More...
 
def initColumn (self, numBand)
 Init the column name in table. More...
 
def addSegmentTable (self, source)
 Create table with object from segmentation. More...
 
def addClusterTable (self, source, epsg_code)
 Create table for cluster. More...
 

Public Attributes

 epsg
 
 nameDB
 
 conn
 

Detailed Description

Opens database.

Constructor & Destructor Documentation

§ __init__()

def agroeyepy.Control.db_connection.ConnectDatabase.__init__ (   self,
  name,
  epsg,
  parent = None 
)

Member Function Documentation

§ addClusterTable()

def agroeyepy.Control.db_connection.ConnectDatabase.addClusterTable (   self,
  source,
  epsg_code 
)

Create table for cluster.

Here is the call graph for this function:

§ addSegmentTable()

def agroeyepy.Control.db_connection.ConnectDatabase.addSegmentTable (   self,
  source 
)

Create table with object from segmentation.

§ checkName()

def agroeyepy.Control.db_connection.ConnectDatabase.checkName (   self,
  name 
)

Check if filename is valid.

Returns
Returns the valid filename.

§ initColumn()

def agroeyepy.Control.db_connection.ConnectDatabase.initColumn (   self,
  numBand 
)

Init the column name in table.

Returns
Returns the list of column name and column type.
Here is the caller graph for this function:

Member Data Documentation

§ conn

agroeyepy.Control.db_connection.ConnectDatabase.conn

§ epsg

agroeyepy.Control.db_connection.ConnectDatabase.epsg

§ nameDB

agroeyepy.Control.db_connection.ConnectDatabase.nameDB

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