Py::Float Class Reference

#include <Objects.hxx>

Inheritance diagram for Py::Float:
Py::Object

List of all members.

Public Member Functions

virtual bool accepts (PyObject *pyob) const
 Float (const Object &ob)
 Float (double v=0.0)
 Float (const Float &f)
 Float (PyObject *pyob, bool owned=false)
 operator double () const
Floatoperator= (const Int &iob)
Floatoperator= (long v)
Floatoperator= (int v)
Floatoperator= (double v)
Floatoperator= (PyObject *rhsp)
Floatoperator= (const Object &rhs)

Detailed Description

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


Constructor & Destructor Documentation

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

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

References validate.

Py::Float::Float ( const Float f  )  [inline]

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

References validate.

Py::Float::Float ( double  v = 0.0  )  [inline, explicit]

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

References validate.

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

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

References validate.


Member Function Documentation

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

Reimplemented from Py::Object.

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

References Py::_Float_Check().

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

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

Float& Py::Float::operator= ( const Int iob  )  [inline]

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

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

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

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

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

Float& Py::Float::operator= ( double  v  )  [inline]

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

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

Reimplemented from Py::Object.

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

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

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