Back to index

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

List of all members.

Public Member Functions

def __init__
def __getattr__
def __getitem__
def LoadLibrary

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Private Attributes


Detailed Description

Definition at line 403 of file

Constructor & Destructor Documentation

def ctypes.LibraryLoader.__init__ (   self,

Definition at line 404 of file

00405     def __init__(self, dlltype):
00406         self._dlltype = dlltype

Here is the caller graph for this function:

Member Function Documentation

def ctypes.LibraryLoader.__getattr__ (   self,

Definition at line 407 of file

00408     def __getattr__(self, name):
00409         if name[0] == '_':
00410             raise AttributeError(name)
00411         dll = self._dlltype(name)
00412         setattr(self, name, dll)
00413         return dll

def ctypes.LibraryLoader.__getitem__ (   self,

Definition at line 414 of file

00415     def __getitem__(self, name):
00416         return getattr(self, name)

Here is the call graph for this function:

Here is the caller graph for this function:

def ctypes.LibraryLoader.LoadLibrary (   self,

Definition at line 417 of file

00418     def LoadLibrary(self, name):
00419         return self._dlltype(name)

Member Data Documentation

Definition at line 405 of file

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

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