Py::Complex Class Reference

#include <Objects.hxx>

Inheritance diagram for Py::Complex:
Py::Object

List of all members.

Public Member Functions

virtual bool accepts (PyObject *pyob) const
 Complex (double v=0.0, double w=0.0)
 Complex (const Complex &f)
 Complex (PyObject *pyob, bool owned=false)
double imag () const
 operator Py_complex () const
Complexoperator= (const Int &iob)
Complexoperator= (long v)
Complexoperator= (int v)
Complexoperator= (double v)
Complexoperator= (const Py_complex &v)
Complexoperator= (PyObject *rhsp)
Complexoperator= (const Object &rhs)
double real () const

Detailed Description

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


Constructor & Destructor Documentation

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

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

References validate.

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

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

References validate.

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

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

References validate.


Member Function Documentation

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

Reimplemented from Py::Object.

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

References Py::_Complex_Check().

double Py::Complex::imag (  )  const [inline]

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

Py::Complex::operator Py_complex (  )  const [inline]

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

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

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

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

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

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

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

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

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

Complex& Py::Complex::operator= ( const Py_complex &  v  )  [inline]

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

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

Reimplemented from Py::Object.

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

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

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

double Py::Complex::real (  )  const [inline]

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