Py::Long Class Reference

#include <Objects.hxx>

Inheritance diagram for Py::Long:
Py::Object

List of all members.

Public Member Functions

virtual bool accepts (PyObject *pyob) const
long as_long () const
 Long (const Object &ob)
 Long (int v)
 Long (unsigned long v)
 Long (long v=0L)
 Long (const Long &ob)
 Long (PyObject *pyob, bool owned=false)
 operator double () const
 operator long () const
 operator unsigned long () const
Longoperator= (unsigned long v)
Longoperator= (long v)
Longoperator= (int v)
Longoperator= (PyObject *rhsp)
Longoperator= (const Object &rhs)

Detailed Description

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


Constructor & Destructor Documentation

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

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

References validate.

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

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

References validate.

Py::Long::Long ( long  v = 0L  )  [inline, explicit]

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

References validate.

Py::Long::Long ( unsigned long  v  )  [inline, explicit]

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

References validate.

Py::Long::Long ( int  v  )  [inline, explicit]

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

References validate.

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

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

References validate.


Member Function Documentation

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

Reimplemented from Py::Object.

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

References Py::_Long_Check().

long Py::Long::as_long (  )  const [inline]

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

Py::Long::operator double (  )  const [inline]

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

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

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

Py::Long::operator unsigned long (  )  const [inline]

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

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

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

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

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

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

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

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

Reimplemented from Py::Object.

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

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

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


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

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