Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Protected Attributes
swig::PyObject_ptr Class Reference
Inheritance diagram for swig::PyObject_ptr:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Attributes

PyObject * _obj

Detailed Description

Definition at line 2793 of file arc_wrap.cpp.


Constructor & Destructor Documentation

Definition at line 2798 of file arc_wrap.cpp.

                   :_obj(0)
    {
    }
swig::PyObject_ptr::PyObject_ptr ( const PyObject_ptr item) [inline]

Definition at line 2802 of file arc_wrap.cpp.

                                           : _obj(item._obj)
    {
      Py_XINCREF(_obj);      
    }
swig::PyObject_ptr::PyObject_ptr ( PyObject *  obj,
bool  initial_ref = true 
) [inline]

Definition at line 2807 of file arc_wrap.cpp.

                                                         :_obj(obj)
    {
      if (initial_ref) {
        Py_XINCREF(_obj);
      }
    }

Definition at line 2822 of file arc_wrap.cpp.

    {
      Py_XDECREF(_obj);
    }

Member Function Documentation

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

Definition at line 2827 of file arc_wrap.cpp.

    {
      return _obj;
    }
PyObject* swig::PyObject_ptr::operator-> ( ) const [inline]

Definition at line 2832 of file arc_wrap.cpp.

    {
      return _obj;
    }
PyObject_ptr& swig::PyObject_ptr::operator= ( const PyObject_ptr item) [inline]

Definition at line 2814 of file arc_wrap.cpp.

    {
      Py_XINCREF(item._obj);
      Py_XDECREF(_obj);
      _obj = item._obj;
      return *this;      
    }

Member Data Documentation

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

Definition at line 2795 of file arc_wrap.cpp.


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