Method Summary |
|
__init__ (self,
is_vector,
is_element,
is_message,
index,
transfertype)
|
IntType
|
get_index (self)
Return the index of the basename of the object, in the basenames list |
StringType
|
get_initial_tag (self)
Return a sting representing the tag specified by the parameters given to the
initialiser |
inditransfertype
|
get_transfertype (self)
Return the way the object has been transferred |
StringType
|
get_type (self)
Returns a string representing the type of the object denoted by this
tag (like TextVector or Number ). |
StringType
|
get_xml (self,
transfertype)
Returns the string the be used in the tags in the XML representation
of the object (like defTextVector or oneSwitch
or newLightVector ). |
BooleanType
|
is_element (self)
Return True , if it denotes an element, False
otherwise |
BooleanType
|
is_message (self)
Return True , if it denotes a message, False
otherwise |
BooleanType
|
is_vector (self)
Return True , if it denotes vector, False
otherwise |
Inherited from _indinameconventions |
StringType
|
_get_defelementtag (self,
basename)
Return xml tag of an element that is send by the server when an
IDDef* function is called on vector which contains the
element (like defText ). |
StringType
|
_get_defvectortag (self,
basename)
Return xml tag of a vector that is send by the server when an
IDDef* function is called(like
defTextVector ). |
StringType
|
_get_element_repr (self,
basename)
Return printable representation of the type of the element . |
StringType
|
_get_message_tag (self)
Return xml tag of an INDI message. |
StringType
|
_get_newelementtag (self,
basename)
Return xml tag of an element that is send by the client (like
oneText ). |
StringType
|
_get_newvectortag (self,
basename)
Return xml tag of a vector that is send by the client (like
newTextVector ). |
StringType
|
_get_setelementtag (self,
basename)
Return xml tag of an element that is send by the server when an
IDSet* function is called on vector which contains the
element (like oneText ). |
StringType
|
_get_setvectortag (self,
basename)
Return xml tag of a vector that is send by the server when am
IDSet* function is called (like
setTextVector ). |
StringType
|
_get_vector_repr (self,
basename)
Return printable representation of the type of the vector . |