Proxy Class Reference

Documentation for Proxy class. More...

Public Member Functions

def __init__
 The constructor.
def __getattr__
 Called each time an attribute is requested of the object.

Data Fields

 proxied_obj

Detailed Description

Documentation for Proxy class.

Class to encapsulate the actual class we want to call. When an attempt is made to access an attribute that doesn't exist we will raise an LsmError instead of the default keyError.

Used to provide an unambiguous error when a feature is not implemented.

Definition at line 84 of file _common.py.


Member Function Documentation

def __getattr__ (   self,
  name 
)

Called each time an attribute is requested of the object.

Parameters:
self The object self
name Name of the attribute being accessed
Returns:
The result of the method
Called each time an attribute is requested of the object

Definition at line 102 of file _common.py.

def __init__ (   self,
  obj = None 
)

The constructor.

Parameters:
self The object self
obj The object instance to wrap

Constructor which takes an object to wrap.

Definition at line 92 of file _common.py.


Field Documentation

Definition at line 96 of file _common.py.


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

Generated on 9 Jul 2015 for libStorageMgmt by  doxygen 1.6.1