Package gavo :: Package votable :: Module dec_tabledata
[frames] | no frames]

Module dec_tabledata

source code

Coding and decoding from tabledata.

Functions
 
tokenizeComplexArr(val)
iterates over suitable number literal pairs from val.
source code
 
tokenizeBitArr(val)
iterates over 0 or 1 tokens in val, discarding everything else.
source code
 
tokenizeNormalArr(val)
iterates over all whitespace-separated tokens in val
source code
 
getLinesFor(field)
returns a sequence of python source lines to decode TABLEDATA-encoded values for field.
source code
 
getRowDecoderSource(tableDefinition)
returns the source for a function deserializing rows of tableDefition in TABLEDATA.
source code
 
getGlobals(tableDefinition) source code
Variables
  TDENCBOOL = {'': None, '0': False, '1': True, '?': None, 'f': ...
  __package__ = 'gavo.votable'
Function Details

getRowDecoderSource(tableDefinition)

source code 

returns the source for a function deserializing rows of tableDefition in TABLEDATA.

tableDefinition is a VOTable.TABLE instance.


Variables Details

TDENCBOOL

Value:
{'': None,
 '0': False,
 '1': True,
 '?': None,
 'f': False,
 'false': False,
 't': True,
 'true': True}