Py::Int Class Reference

#include <Objects.hxx>

Inheritance diagram for Py::Int:
Py::Object

List of all members.

Public Member Functions

virtual bool accepts (PyObject *pyob) const
 Int (const Object &ob)
 Int (bool v)
 Int (int v)
 Int (long v=0L)
 Int (const Int &ob)
 Int (PyObject *pyob, bool owned=false)
 operator long () const
Intoperator= (long v)
Intoperator= (int v)
Intoperator= (PyObject *rhsp)
Intoperator= (const Object &rhs)

Detailed Description

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


Constructor & Destructor Documentation

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

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

References validate.

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

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

References validate.

Py::Int::Int ( long  v = 0L  )  [inline]

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

References validate.

Py::Int::Int ( int  v  )  [inline]

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

References validate, and RobotExample::w.

Py::Int::Int ( bool  v  )  [inline]

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

References validate, and RobotExample::w.

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

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

References validate.


Member Function Documentation

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

Reimplemented from Py::Object.

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

References Py::_Int_Check().

Py::Int::operator long (  )  const [inline]

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

Int& Py::Int::operator= ( long  v  )  [inline]

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

Int& Py::Int::operator= ( int  v  )  [inline]

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

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

Reimplemented from Py::Object.

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

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

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