Py::Char Class Reference

#include <Objects.hxx>

Inheritance diagram for Py::Char:
Py::Object

List of all members.

Public Member Functions

virtual bool accepts (PyObject *pyob) const
 Char (Py_UNICODE v)
 Char (char v)
 Char (const std::string &v="")
 Char (const Object &ob)
 Char (PyObject *pyob, bool owned=false)
 operator std::string () const
 operator String () const
Charoperator= (Py_UNICODE v)
Charoperator= (const unicodestring &v)
Charoperator= (char v)
Charoperator= (const std::string &v)
Charoperator= (PyObject *rhsp)
Charoperator= (const Object &rhs)

Detailed Description

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


Constructor & Destructor Documentation

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

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

References validate.

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

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

References validate.

Py::Char::Char ( const std::string &  v = ""  )  [inline]

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

References validate.

Py::Char::Char ( char  v  )  [inline]

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

References validate.

Py::Char::Char ( Py_UNICODE  v  )  [inline]

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

References validate.


Member Function Documentation

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

Reimplemented from Py::Object.

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

References Py::_String_Check(), and Py::_Unicode_Check().

Py::Char::operator std::string (  )  const [inline]

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

References Py::Object::ptr().

Py::Char::operator String (  )  const

Definition at line 73 of file Python2/cxxsupport.cxx.

References Py::Object::ptr().

Char& Py::Char::operator= ( Py_UNICODE  v  )  [inline]

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

Char& Py::Char::operator= ( const unicodestring v  )  [inline]

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

Char& Py::Char::operator= ( char  v  )  [inline]

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

Char& Py::Char::operator= ( const std::string &  v  )  [inline]

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

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

Reimplemented from Py::Object.

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

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

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


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

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