Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Private Attributes
Arc::PyObjectP Class Reference

List of all members.

Public Member Functions

 PyObjectP (PyObject *obj)
 ~PyObjectP ()
 operator bool ()
bool operator! ()
 operator PyObject * ()
 PyObjectP (PyObject *obj)
 ~PyObjectP (void)
 operator bool (void)
bool operator! (void)
 operator PyObject * (void)

Private Attributes

PyObject * obj
PyObject * obj_

Detailed Description

Definition at line 36 of file PythonBroker.cpp.


Constructor & Destructor Documentation

Arc::PyObjectP::PyObjectP ( PyObject *  obj) [inline]

Definition at line 38 of file PythonBroker.cpp.

      : obj(obj) {}

Definition at line 40 of file PythonBroker.cpp.

                 {
      if (obj)
        Py_DECREF(obj);
    }
Arc::PyObjectP::PyObjectP ( PyObject *  obj) [inline]

Definition at line 374 of file pythonwrapper.cpp.

:obj_(obj) { };
Arc::PyObjectP::~PyObjectP ( void  ) [inline]

Definition at line 375 of file pythonwrapper.cpp.

{ if(obj_) Py_DECREF(obj_); };

Member Function Documentation

Arc::PyObjectP::operator bool ( ) [inline]

Definition at line 44 of file PythonBroker.cpp.

                    {
      return obj;
    }
Arc::PyObjectP::operator bool ( void  ) [inline]

Definition at line 376 of file pythonwrapper.cpp.

{ return (obj_ != NULL); };
Arc::PyObjectP::operator PyObject * ( ) [inline]

Definition at line 50 of file PythonBroker.cpp.

                         {
      return obj;
    }
Arc::PyObjectP::operator PyObject * ( void  ) [inline]

Definition at line 378 of file pythonwrapper.cpp.

{ return obj_; };
bool Arc::PyObjectP::operator! ( ) [inline]

Definition at line 47 of file PythonBroker.cpp.

                     {
      return !obj;
    }
bool Arc::PyObjectP::operator! ( void  ) [inline]

Definition at line 377 of file pythonwrapper.cpp.

{ return (obj_ == NULL); };

Member Data Documentation

PyObject* Arc::PyObjectP::obj [private]

Definition at line 54 of file PythonBroker.cpp.

PyObject* Arc::PyObjectP::obj_ [private]

Definition at line 372 of file pythonwrapper.cpp.


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