Trees | Index | Help |
|
---|
Module indiclient :: Class indiblob |
|
indiobject
--+ |indinamedobject
--+ |indielement
--+ | indiblob
Method Summary | |
---|---|
| |
StringType |
Return the plain binary version of its data |
StringType |
Return the format of the BLOB, possible extensions due to compression like .z are removed |
StringType |
Return size of the xml representation of the data. |
StringType |
Return the plain binary version of its data |
StringType |
Returns an XML representation of the object |
NoneType |
Loads a BLOB with data from a file. |
NoneType |
Loads a BLOB with data from a string. |
NoneType |
Return None |
NoneType |
Update this element with data received form the XML Parser. |
Inherited from indielement | |
NoneType |
Return None |
NoneType |
Prints all parameters of the object |
Inherited from indiobject | |
BooleanType |
Checks whether the object is valid. |
Instance Variable Summary | |
---|---|
StringType | format : A string describing the file-format/-extension (e.g
.fits ) |
Inherited from indinamedobject | |
StringType | label : label of the INDI object as given in the "label" XML
attribute |
StringType | name : name of the INDI object as given in the "name" XML
attribute |
Inherited from indiobject | |
indixmltag |
tag : The XML tag of the INDI object (see indixmltag ). |
Method Details |
---|
__init__(self,
attrs,
tag)
|
get_data(self)
|
get_plain_format(self)
|
get_size(self)
|
get_text(self)
|
get_xml(self, transfertype)Returns an XML representation of the object
|
set_from_file(self, filename)Loads a BLOB with data from a file. The extension of the file is used asformat attribute of the BLOB
|
set_from_string(self, text, format)Loads a BLOB with data from a string.
|
set_text(self, text)
|
update(self, attrs, tag)Update this element with data received form the XML Parser.
|
Instance Variable Details |
---|
formatA string describing the file-format/-extension (e.g.fits )
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Sep 10 10:26:03 2005 | http://epydoc.sf.net |