casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | Static Private Attributes
__casac__.tableindex.tableindex Class Reference
Inheritance diagram for __casac__.tableindex.tableindex:
__casac__.tableindex._object

List of all members.

Public Member Functions

def __init__
def set
def isunique
def setchanged
def rownr
def rownrs
def close
def done

Public Attributes

 this

Static Private Attributes

dictionary __swig_setmethods__
tuple __setattr__
dictionary __swig_getmethods__
tuple __getattr__
 __repr__
 __swig_destroy__
 __del__

Detailed Description

Proxy of C++ casac::tableindex class

Definition at line 70 of file tableindex.py.


Constructor & Destructor Documentation

__init__(self) -> tableindex

Definition at line 77 of file tableindex.py.


Member Function Documentation

close(self) -> bool

Summary
Close the tableindex
--------------------------------------------------------------------------------

Definition at line 160 of file tableindex.py.

done(self) -> bool

Summary
End the tableindex tool
--------------------------------------------------------------------------------

Definition at line 171 of file tableindex.py.

isunique(self) -> bool

Summary
Are all key values in the index unique?
--------------------------------------------------------------------------------

Definition at line 101 of file tableindex.py.

def __casac__.tableindex.tableindex.rownr (   self,
  args,
  kwargs 
)
rownr(self, key) -> int

Summary
Find the row number matching the search value

Input Parameters:
key              search value 

--------------------------------------------------------------------------------

Definition at line 127 of file tableindex.py.

def __casac__.tableindex.tableindex.rownrs (   self,
  args,
  kwargs 
)
rownrs(self, key, upperkey=initialize_record("0"), lowerincl=True, upperincl=True) -> std::vector< int >

Summary
Find the row numbers matching search values

Input Parameters:
key              search value 
upperkey         end of search interval 0 
lowerincl        include lower boundary true 
upperincl        include upper boundary? true 

--------------------------------------------------------------------------------

Definition at line 142 of file tableindex.py.

def __casac__.tableindex.tableindex.set (   self,
  args,
  kwargs 
)
set(self, tab, columns, sort=True) -> bool

Summary
Set table and columns to be indexed

Input Parameters:
tab              table to be indexed, wants a table tool 
columns          column names 
sort             is a sort of the key values needed? true 

--------------------------------------------------------------------------------

Definition at line 84 of file tableindex.py.

def __casac__.tableindex.tableindex.setchanged (   self,
  args,
  kwargs 
)
setchanged(self, columns=std::vector< string >(1, "")) -> bool

Summary
Tell the index that columns have changed

Input Parameters:
columns          names of changed columns all 

--------------------------------------------------------------------------------

Definition at line 112 of file tableindex.py.


Member Data Documentation

Definition at line 83 of file tableindex.py.

Definition at line 75 of file tableindex.py.

Definition at line 76 of file tableindex.py.

Definition at line 73 of file tableindex.py.

Definition at line 82 of file tableindex.py.

Definition at line 74 of file tableindex.py.

Definition at line 72 of file tableindex.py.

Definition at line 81 of file tableindex.py.


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