Py::Callable Class Reference

#include <Objects.hxx>

Inheritance diagram for Py::Callable:
Py::Object

List of all members.

Public Member Functions

virtual bool accepts (PyObject *pyob) const
Object apply (PyObject *pargs=0) const
Object apply (const Tuple &args, const Dict &kw) const
Object apply (const Tuple &args) const
 Callable (const Object &ob)
 Callable (PyObject *pyob, bool owned=false)
 Callable ()
Callableoperator= (PyObject *rhsp)
Callableoperator= (const Object &rhs)

Detailed Description

Definition at line 3197 of file Python2/Objects.hxx.


Constructor & Destructor Documentation

Py::Callable::Callable (  )  [inline, explicit]

Definition at line 3201 of file Python2/Objects.hxx.

Py::Callable::Callable ( PyObject pyob,
bool  owned = false 
) [inline, explicit]

Definition at line 3202 of file Python2/Objects.hxx.

References Py::Object::validate().

Py::Callable::Callable ( const Object ob  )  [inline]

Definition at line 3207 of file Python2/Objects.hxx.

References Py::Object::validate().


Member Function Documentation

virtual bool Py::Callable::accepts ( PyObject pyob  )  const [inline, virtual]

Reimplemented from Py::Object.

Definition at line 3227 of file Python2/Objects.hxx.

Object Py::Callable::apply ( PyObject pargs = 0  )  const [inline]

Definition at line 3244 of file Python2/Objects.hxx.

Object Py::Callable::apply ( const Tuple args,
const Dict kw 
) const [inline]

Definition at line 3239 of file Python2/Objects.hxx.

References Py::asObject(), and Py::Object::ptr().

Object Py::Callable::apply ( const Tuple args  )  const [inline]
Callable& Py::Callable::operator= ( PyObject rhsp  )  [inline]

Reimplemented from Py::Object.

Definition at line 3219 of file Python2/Objects.hxx.

References Py::Object::ptr().

Callable& Py::Callable::operator= ( const Object rhs  )  [inline]

Definition at line 3214 of file Python2/Objects.hxx.


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

Generated on Wed Nov 23 19:02:43 2011 for FreeCAD by  doxygen 1.6.1