Py::Boolean Class Reference

#include <Objects.hxx>

Inheritance diagram for Py::Boolean:
Py::Object

List of all members.

Public Member Functions

virtual bool accepts (PyObject *pyob) const
 Boolean (const Object &ob)
 Boolean (bool v=false)
 Boolean (const Boolean &ob)
 Boolean (PyObject *pyob, bool owned=false)
 operator bool () const
Booleanoperator= (bool v)
Booleanoperator= (PyObject *rhsp)
Booleanoperator= (const Object &rhs)

Detailed Description

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


Constructor & Destructor Documentation

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

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

References validate.

Py::Boolean::Boolean ( const Boolean ob  )  [inline]

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

References validate.

Py::Boolean::Boolean ( bool  v = false  )  [inline]

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

References validate.

Py::Boolean::Boolean ( const Object ob  )  [inline, explicit]

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

References validate.


Member Function Documentation

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

Reimplemented from Py::Object.

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

Py::Boolean::operator bool (  )  const [inline]

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

Boolean& Py::Boolean::operator= ( bool  v  )  [inline]

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

Boolean& Py::Boolean::operator= ( PyObject rhsp  )  [inline]

Reimplemented from Py::Object.

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

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

Definition at line 552 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