GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gselect.VectorDBInfo Class Reference

Class providing information about attribute tables linked to a vector map. More...

Public Member Functions

def __init__
 
def Reset
 Reset. More...
 
def GetName
 Get vector name. More...
 
def GetKeyColumn
 Get key column of given layer. More...
 
def GetTable
 Get table name of given layer. More...
 
def GetDbSettings
 Get database settins. More...
 
def GetTableDesc
 Get table columns. More...
 

Data Fields

 map
 
 layers
 
 tables
 

Detailed Description

Class providing information about attribute tables linked to a vector map.

Definition at line 549 of file gselect.py.

Constructor & Destructor Documentation

def gselect.VectorDBInfo.__init__ (   self,
  map 
)

Definition at line 552 of file gselect.py.

Member Function Documentation

def gselect.VectorDBInfo.GetDbSettings (   self,
  layer 
)

Get database settins.

Parameters
layerlayer number
Returns
(driver, database)

Definition at line 645 of file gselect.py.

References workspace.ProcessWorkspaceFile.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, and manager.LayerListCtrl.layers.

def gselect.VectorDBInfo.GetKeyColumn (   self,
  layer 
)

Get key column of given layer.

Parameters
layervector layer number

Definition at line 631 of file gselect.py.

References workspace.ProcessWorkspaceFile.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, and manager.LayerListCtrl.layers.

def gselect.VectorDBInfo.GetTable (   self,
  layer 
)

Get table name of given layer.

Parameters
layervector layer number

Definition at line 638 of file gselect.py.

References workspace.ProcessWorkspaceFile.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, and manager.LayerListCtrl.layers.

def gselect.VectorDBInfo.GetTableDesc (   self,
  table 
)

Get table columns.

Parameters
tabletable name

Definition at line 654 of file gselect.py.

References gselect.VectorDBInfo.tables.

Field Documentation


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