Package gavo :: Package votable :: Module model :: Class VOTable :: Class _TypedElement
[hide private]
[frames] | no frames]

Class _TypedElement

source code

           object --+                
                    |                
utils.stanxml.Element --+            
                        |            
      VOTable._VOTElement --+        
                            |        
    VOTable._DescribedElement --+    
                                |    
           VOTable._ValuedElement --+
                                    |
                                   VOTable._TypedElement
Known Subclasses:

Nested Classes [hide private]

Inherited from utils.stanxml.Element: __metaclass__

Inherited from utils.stanxml.Element (private): _generator_t

Instance Methods [hide private]
 
isScalar(self) source code
 
hasVarLength(self) source code
 
getLength(self)
returns the number of items one should expect in value, or None for variable-length arrays.
source code
 
getShape(self)
returns a numpy-compatible shape.
source code
 
__init__(self, ID=None, arraysize=None, datatype=None, id=None, name=None, precision=None, ref=None, type=None, ucd=None, unit=None, utype=None, width=None, xtype=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from _DescribedElement: getDescription, getDesignation

Inherited from utils.stanxml.Element: __call__, __getitem__, __iter__, __nonzero__, addAttribute, addChild, apply, asETree, bailIfBadChild, isEmpty, iterAttNames, iterChildren, iterChildrenOfType, makeChildDict, render

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  _a_arraysize = None
  _a_datatype = None
  _a_precision = None
  _a_ref = None
  _a_type = None
  _a_width = None
  _nodeAttrs = [('ID', None), ('arraysize', None), ('datatype', ...

Inherited from _ValuedElement (private): _a_unit, _a_xtype

Inherited from _DescribedElement (private): _a_ID, _a_name, _a_ucd, _a_utype, _mayBeEmpty

Inherited from _VOTElement (private): _local, _prefix

Inherited from utils.stanxml.Element: name_

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, ID=None, arraysize=None, datatype=None, id=None, name=None, precision=None, ref=None, type=None, ucd=None, unit=None, utype=None, width=None, xtype=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

_nodeAttrs

Value:
[('ID', None),
 ('arraysize', None),
 ('datatype', None),
 ('id', None),
 ('name', None),
 ('precision', None),
 ('ref', None),
 ('type', None),
...