swig::SwigPtr_PyObject Class Reference

Inheritance diagram for swig::SwigPtr_PyObject:

swig::SwigVar_PyObject

List of all members.

Public Member Functions

 SwigPtr_PyObject ()
 SwigPtr_PyObject (const SwigPtr_PyObject &item)
 SwigPtr_PyObject (PyObject *obj, bool initial_ref=true)
SwigPtr_PyObjectoperator= (const SwigPtr_PyObject &item)
 ~SwigPtr_PyObject ()
 operator PyObject * () const
PyObject * operator-> () const

Protected Attributes

PyObject * _obj


Detailed Description

Definition at line 2804 of file SyFi_wrap.cc.


Constructor & Destructor Documentation

swig::SwigPtr_PyObject::SwigPtr_PyObject (  )  [inline]

Definition at line 2809 of file SyFi_wrap.cc.

02809                        :_obj(0)
02810     {
02811     }

swig::SwigPtr_PyObject::SwigPtr_PyObject ( const SwigPtr_PyObject item  )  [inline]

Definition at line 2813 of file SyFi_wrap.cc.

References _obj.

02813                                                    : _obj(item._obj)
02814     {
02815       Py_XINCREF(_obj);      
02816     }

swig::SwigPtr_PyObject::SwigPtr_PyObject ( PyObject *  obj,
bool  initial_ref = true 
) [inline]

Definition at line 2818 of file SyFi_wrap.cc.

References _obj.

02818                                                              :_obj(obj)
02819     {
02820       if (initial_ref) {
02821         Py_XINCREF(_obj);
02822       }
02823     }

swig::SwigPtr_PyObject::~SwigPtr_PyObject (  )  [inline]

Definition at line 2833 of file SyFi_wrap.cc.

References _obj.

02834     {
02835       Py_XDECREF(_obj);
02836     }


Member Function Documentation

swig::SwigPtr_PyObject::operator PyObject * (  )  const [inline]

Definition at line 2838 of file SyFi_wrap.cc.

References _obj.

02839     {
02840       return _obj;
02841     }

PyObject* swig::SwigPtr_PyObject::operator-> (  )  const [inline]

Definition at line 2843 of file SyFi_wrap.cc.

References _obj.

02844     {
02845       return _obj;
02846     }

SwigPtr_PyObject& swig::SwigPtr_PyObject::operator= ( const SwigPtr_PyObject item  )  [inline]

Definition at line 2825 of file SyFi_wrap.cc.

References _obj.

02826     {
02827       Py_XINCREF(item._obj);
02828       Py_XDECREF(_obj);
02829       _obj = item._obj;
02830       return *this;      
02831     }


Member Data Documentation

PyObject* swig::SwigPtr_PyObject::_obj [protected]


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

Generated on Mon Aug 31 16:17:06 2009 for SyFi by  doxygen 1.5.9