Package pype32 :: Module directories :: Class NetResources |
[hide private]
[frames] | no frames]

# Class NetResources

source code

                     object --+
                              |
    baseclasses.BaseStructClass --+
                                  |
                                 NetResources

NetResources object.

Instance Methods | [hide private]
__init__(self, shouldPack=True) NetResources object. | source code
__str__(self) str(x) | source code
__repr__(self) repr(x) | source code
getType(self) Returns consts.NET_RESOURCES. | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`
Inherited from baseclasses.BaseStructClass
__dir__(self) | source code
__len__(self) | source code
dict |
getFields(self) Returns all the class attributues. | source code
sizeof(self) | source code

Static Methods | [hide private]
NetResources |
parse(readDataInstance) Returns a new NetResources object. | source code

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, shouldPack=True) (Constructor) | source code
NetResources object. Parameters: `shouldPack` - (Optional) If the value is set to `True`, the class will be packed. If the value is set to `False`, the class will not be packed. Overrides: object.__init__ To Do: Parse every resource in this struct and store them in the `self.resources` attribute.

### __str__(self) (Informal representation operator) | source code
str(x) Overrides: object.__str__ (inherited documentation)

### __repr__(self) (Representation operator) | source code
repr(x) Overrides: object.__repr__ (inherited documentation)

### getType(self) | source code
Returns consts.NET_RESOURCES. Raises: `NotImplementedError` - The method wasn't implemented in the inherited class. Overrides: baseclasses.BaseStructClass.getType

### parse(readDataInstance) Static Method | source code
Returns a new NetResources object. Parameters: `readDataInstance` (ReadData) - A ReadData object with data to be parsed as a NetResources object. Returns: NetResources A new NetResources object.