Py::Tuple Class Reference

#include <Objects.hxx>

Inheritance diagram for Py::Tuple:
Py::SeqBase< T > Py::Object Py::TupleN

List of all members.

Public Member Functions

virtual bool accepts (PyObject *pyob) const
Tuple getSlice (int i, int j) const
Tupleoperator= (PyObject *rhsp)
Tupleoperator= (const Object &rhs)
virtual void setItem (sequence_index_type offset, const Object &ob)
 Tuple (const Sequence &s)
 Tuple (int size=0)
 Tuple (const Object &ob)
 Tuple (PyObject *pyob, bool owned=false)

Detailed Description

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


Constructor & Destructor Documentation

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

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

References Py::Object::validate().

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

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

References Py::Object::validate().

Py::Tuple::Tuple ( int  size = 0  )  [inline, explicit]
Py::Tuple::Tuple ( const Sequence s  )  [inline, explicit]

Member Function Documentation

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

Reimplemented from Py::SeqBase< T >.

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

References Py::_Tuple_Check().

Referenced by Base::PlacementPy::setRotation().

Tuple Py::Tuple::getSlice ( int  i,
int  j 
) const [inline]

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

References Py::Object::ptr().

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

Reimplemented from Py::SeqBase< T >.

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

References Py::Object::ptr().

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

Reimplemented from Py::SeqBase< T >.

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

virtual void Py::Tuple::setItem ( sequence_index_type  offset,
const Object ob 
) [inline, virtual]

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