A class to contain the actual cgf data.
Note that L{versions} and L{chunk_table} are not automatically kept
in sync with the L{chunks}, but they are
resynchronized when calling L{write}.
|
|
|
inspect_version_only(self,
stream)
This function checks the version only, and is faster
than the usual inspect function (which reads the full
chunk table). |
source code
|
|
|
|
|
|
generator yielding DetailNodes
|
get_detail_child_nodes(self,
edge_filter=(True, True))
Generator which yields all children of this item in the
detail view (by default, all acyclic and active ones). |
source code
|
|
generator yielding strs
|
|
|
inspect(self,
stream)
Quickly checks whether the stream appears to contain
cgf data, and read the cgf header and chunk table. |
source code
|
|
|
|
|
|
|
update_versions(self)
Update L{versions} for the given chunks and game. |
source code
|
|
Inherited from utils.graph.GlobalNode :
get_global_child_edge_types ,
get_global_display ,
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__ ,
__str__ ,
__subclasshook__
|