Package pyffi :: Package formats :: Package esp :: Class EspFormat :: Class GRUP
[hide private]
[frames] | no frames]

Class GRUP

source code

                  object --+                
                           |                
      utils.graph.DetailNode --+            
                               |            
          utils.graph.GlobalNode --+        
                                   |        
object_models.xml.struct_.StructBase --+    
                                       |    
                         EspFormat._GRUP --+
                                           |
                                          EspFormat.GRUP

Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]
 
__init__(self)
The constructor takes a tempate: any attribute whose type, or template type, is type(None) - which corresponds to TEMPLATE in the xml description - will be replaced by this type.
source code
 
read(self, stream, data)
Read structure from stream.
source code
 
write(self, stream, data)
Write structure to stream.
source code
 
get_global_child_nodes(self, edge_filter=(True, True))
Generator which yields all children of this item in the global view, of given edge type (default is edges of type 0).
source code

Inherited from object_models.xml.struct_.StructBase: __str__, deepcopy, fix_links, get_attribute, get_basic_attribute, get_detail_child_names, get_detail_child_nodes, get_global_display, get_hash, get_links, get_refs, get_size, get_strings, get_template_attribute, replace_global_node, set_attribute, set_basic_attribute, set_template_attribute, tree

Inherited from utils.graph.GlobalNode: get_global_child_edge_types, get_global_iterator

Inherited from utils.graph.DetailNode: get_detail_child_edge_types, get_detail_display, get_detail_iterator

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from object_models.xml.struct_.StructBase: get_games, get_versions

Class Variables [hide private]
  _attribute_list = [<pyffi.object_models.xml.StructAttribute ob...

Inherited from _GRUP (private): _attrs, _names

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]

Inherited from _GRUP: data_size, group_label, group_type, time_stamp, type

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
The constructor takes a tempate: any attribute whose type, or template type, is type(None) - which corresponds to TEMPLATE in the xml description - will be replaced by this type. The argument is what the ARG xml tags will be replaced with.
Parameters:
  • template - If the class takes a template type argument, then this argument describes the template type.
  • argument - If the class takes a type argument, then it is described here.
  • parent - The parent of this instance, that is, the instance this array is an attribute of.
Overrides: object.__init__
(inherited documentation)

read(self, stream, data)

source code 
Read structure from stream.
Overrides: object_models.xml.struct_.StructBase.read
(inherited documentation)

write(self, stream, data)

source code 
Write structure to stream.
Overrides: object_models.xml.struct_.StructBase.write
(inherited documentation)

get_global_child_nodes(self, edge_filter=(True, True))

source code 

Generator which yields all children of this item in the global view, of given edge type (default is edges of type 0).

Override this method.

Returns:
Generator for global node children.
Overrides: utils.graph.GlobalNode.get_global_child_nodes
(inherited documentation)

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x4a55350>,
 <pyffi.object_models.xml.StructAttribute object at 0x4a55410>,
 <pyffi.object_models.xml.StructAttribute object at 0x4a55490>,
 <pyffi.object_models.xml.StructAttribute object at 0x4a554d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x4a55510>,
 <pyffi.object_models.xml.StructAttribute object at 0x4a55350>,
 <pyffi.object_models.xml.StructAttribute object at 0x4a55410>,
 <pyffi.object_models.xml.StructAttribute object at 0x4a55490>,
...