Atlas
0.7.0
Networking protocol for the Worldforge system.
|
Public Member Functions | |
def | __setattr__ (self, name, value) |
def | __getattr__ (self, name) |
def | is_plain_attribute (self, name) |
def | get_plain_attribute (self, name) |
def | get_attr_pos (self, a) |
def | key_func (self, value) |
def | items (self, convert2plain_flag=1, original_order=1, all=0) |
def | get_attributes (self, convert2plain_flag=1) |
def | get_all_attributes (self, result_dict=None, convert2plain_flag=1) |
def | attribute_definition (self, name) |
def | has_parent (self, parent) |
def | get_objtype (self) |
def | __repr__ (self) |
def | __str__ (self) |
Public Attributes | |
id | |
Static Public Attributes | |
string | peanut = "blah" |
Definition at line 58 of file test_atlas.py.
|
inherited |
look first for attribute at this object if not available, then go trough all parent object looking for attrbiutes
Definition at line 57 of file __init__.py.
References atlas.Object.__dict__.
|
inherited |
give object that defines given attribute
Definition at line 161 of file __init__.py.
References atlas.Object.__dict__, atlas.Object.get_attributes(), atlas.Object.id, and atlas.Object.items().
|
inherited |
list all attributes including inherited ones: returns dictionary: use get_all_attributes().items() for list
Definition at line 150 of file __init__.py.
References atlas.Object.get_attributes().
Referenced by atlas.Object.items().
|
inherited |
list all attributes defined in this object: returns dictionary: use items() for list
Definition at line 137 of file __init__.py.
References atlas.Object.__dict__.
Referenced by atlas.Object.attribute_definition(), atlas.Object.get_all_attributes(), and atlas.Object.items().
|
inherited |
convert all references to parents, etc.. objects to string ids
Definition at line 101 of file __init__.py.
References atlas.Object.get_attr_pos(), and atlas.Object.items().
|
inherited |
is attribute plain?
Definition at line 96 of file __init__.py.
|
inherited |
like dictionary items method: original_order: tries to preserver specification order if possible all: list also inherited attributes (if possible)
Definition at line 123 of file __init__.py.
References atlas.Object.get_all_attributes(), atlas.Object.get_attributes(), and atlas.Object.key_func().
Referenced by atlas.Object.attribute_definition(), and atlas.Object.get_plain_attribute().