Package pyffi :: Package formats :: Package rockstar :: Package dir_ :: Class DirFormat
[hide private]
[frames] | no frames]

Class DirFormat

source code

              object --+        
                       |        
object_models.FileFormat --+    
                           |    
object_models.xml.FileFormat --+
                               |
                              DirFormat

This class implements the DIR format.
Nested Classes [hide private]
  UInt
Implementation of a 32-bit unsigned integer type.
  String
  Data
A class to contain the actual dir data.
  File

Inherited from object_models.xml.FileFormat: __metaclass__

Instance Methods [hide private]

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

Class Methods [hide private]

Inherited from object_models.xml.FileFormat: vercondFilter

Inherited from object_models.FileFormat: name_attribute, name_class, name_parts, walk, walkData

Static Methods [hide private]

Inherited from object_models.FileFormat: version_number

Class Variables [hide private]
  xml_file_name = 'dir.xml'
Override.
  xml_file_path = ['/usr/lib/python2.7/site-packages/pyffi/forma...
Override.
  RE_FILENAME = re.compile(r'(?i)^.*\.dir$')
Override this with a regular expression (the result of a re.compile call) for the file extension of the format you are implementing.
  games = {}
  versions = {}
  xml_struct = [<class 'pyffi.formats.rockstar.dir_.File'>]

Inherited from object_models.xml.FileFormat: logger, xml_alias, xml_bit_struct, xml_enum

Inherited from object_models.FileFormat: ARCHIVE_CLASSES

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

xml_file_path

Override.
Value:
['/usr/lib/python2.7/site-packages/pyffi/formats/rockstar/dir_']