|
__init__(self,
parent=None)
Creates and initializes a 'Sea' object. |
|
|
|
|
|
__setstate__(self,
ark)
Restores the 'Sea' object from an object of the buildin type. |
|
|
|
__deepcopy__(self,
memo={ } ) |
|
|
|
|
|
__str__(self)
Subclasses of the 'Sea' class must implement this function if
conversion of the subclass's instances to strings is needed. |
|
|
|
__ne__(self,
rhs)
Returns True if the value of this object does not equal that of
'rhs'. |
|
|
|
__eq__(self,
rhs)
Returns True if the value of this object equals that of 'rhs'. |
|
|
|
__get_sval(self)
Used by the 'sval' property, which is to get an 'Sea' object of the
value that is represented by this 'Sea' object. |
|
|
|
apply(self,
op)
Recursively applies the operation as given by 'op' to all 'Sea'
subobjects of this 'Sea' object. |
|
|
|
parent(self)
Rerturns the parent of this 'Sea' object or None if it does not have
a parent. |
|
|
|
set_parent(self,
parent)
Sets the parent of this 'Sea' object to the given 'parent'. |
|
|
|
tag(self)
Returns tags, which are 'set' objects. |
|
|
|
has_tag(self,
tag)
Returns True if we already tagged this object with the given 'tag'. |
|
|
|
_add_tag_impl(self,
tag,
propagate) |
|
|
|
add_tag(self,
tag,
propagate=True)
Tags this object with another string(s). |
|
|
|
_remove_tag_impl(self,
tag,
propagate) |
|
|
|
remove_tag(self,
tag,
propagate=True)
Removes a tag. |
|
|
|
_reset_tag_impl(self,
tag,
propagate) |
|
|
|
reset_tag(self,
tag,
propagate=True)
Resets the tag of this object to the given 'tag'. |
|
|
|
|
|
pmode(self)
Returns the printing mode. |
|
|
|
set_pmode(self,
pmode,
propagate=True)
Resets the printing mode of this object to the given 'pmode'. |
|
|
|
|
|
dump(self,
tag=set([ ]) )
Converts this 'Sea' object into a string that looks ugly (yet
syntactically correct). |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|