Back to index

python3.2  3.2.2
Public Member Functions | Static Private Attributes
ctypes._endian.LittleEndianStructure Class Reference
Inheritance diagram for ctypes._endian.LittleEndianStructure:
Inheritance graph
Collaboration diagram for ctypes._endian.LittleEndianStructure:
Collaboration graph

List of all members.

Public Member Functions

def __setattr__

Static Private Attributes

 _swappedbytes_ = None

Detailed Description

Structure with little endian byte order

Definition at line 54 of file

Member Function Documentation

def ctypes._endian._swapped_meta.__setattr__ (   self,
) [inherited]

Definition at line 24 of file

00025     def __setattr__(self, attrname, value):
00026         if attrname == "_fields_":
00027             fields = []
00028             for desc in value:
00029                 name = desc[0]
00030                 typ = desc[1]
00031                 rest = desc[2:]
00032                 fields.append((name, _other_endian(typ)) + rest)
00033             value = fields
00034         super().__setattr__(attrname, value)

Here is the call graph for this function:

Member Data Documentation

Definition at line 56 of file

The documentation for this class was generated from the following file: