| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.structure.StructureBase --+
|
object --+ |
| |
base.common.Parser --+
|
base.structure.ParseableStructure --+
|
base.structure.Structure --+
|
object --+ |
| |
base.meta.MetaMixin --+
|
ColumnBase --+
|
ParamBase --+
|
Param
A table parameter.
This is like a column, except that it conceptually applies to all rows in the table. In VOTables, params will be rendered as PARAMs.
While we validate the values passed using the DC default parsers, at least the VOTable params will be literal copies of the string passed in.
You can obtain a parsed value from the value attribute.
Null value handling is a bit tricky with params. An empty param (like <param name="x"/>) is always NULL (None in python). In order to allow setting NULL even where syntactially something has to stand, we also turn any __NULL__ to None.
For floats, NaN will also yield NULLs. For integers, you can also use
<param name="x" type="integer"><values nullLiteral="-1"/>-1</params>
For arrays, floats, and strings, the interpretation of values is undefined. Following VOTable practice, we do not tell empty strings and NULLs apart; for internal usage, there is a little hack: __EMPTY__ as literal does set an empty string. This is to allow defaulting of empty strings -- in VOTables, these cannot be distinguished from "true" NULLs.
| Nested Classes | |
|
Inherited from |
| Class Methods | |
|
Inherited from |
| Class Variables | |
name_ = a sentinel for all kinds of undefined values. |
|
attrSeq =
|
|
managedAttrs =
|
|
|
Inherited from Inherited from Inherited from Inherited from |
|
| Properties | |
|
Inherited from Inherited from |
| Method Details |
|
sets the value of the parameter. Macros will be expanded if the parent object supports macro expansion.
|
|
|
|
|
| Class Variable Details |
attrSeq
|
managedAttrs
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |