OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
TableRow Class Reference

Public Member Functions

def __init__
 
def __getitem__
 
def __str__
 
def __len__
 
def __setitem__
 
def __getattr__
 
def __setattr__
 

Detailed Description

Essentially a named tuple, but allows column names that are not valid 
python variable names.

Definition at line 130 of file table.py.

Constructor & Destructor Documentation

def __init__ (   self,
  row_data,
  tab 
)

Definition at line 135 of file table.py.

Member Function Documentation

def __getattr__ (   self,
  col_name 
)

Definition at line 160 of file table.py.

def __getitem__ (   self,
  col_name 
)

Definition at line 139 of file table.py.

def __len__ (   self)

Definition at line 151 of file table.py.

def __setattr__ (   self,
  col_name,
  val 
)

Definition at line 165 of file table.py.

def __setitem__ (   self,
  col_name,
  val 
)

Definition at line 154 of file table.py.

def __str__ (   self)

Definition at line 144 of file table.py.


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