Py::List Class Reference

#include <Objects.hxx>

Inheritance diagram for Py::List:
Py::SeqBase< T > Py::Object

List of all members.

Public Member Functions

virtual bool accepts (PyObject *pyob) const
void append (const Object &ob)
virtual size_type capacity () const
List getSlice (int i, int j) const
void insert (int i, const Object &ob)
 List (const Sequence &s)
 List (int size=0)
 List (const Object &ob)
 List (PyObject *pyob, bool owned=false)
Listoperator= (PyObject *rhsp)
Listoperator= (const Object &rhs)
void reverse ()
void setSlice (int i, int j, const Object &v)
void sort ()

Detailed Description

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


Constructor & Destructor Documentation

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

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

References Py::Object::validate().

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

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

References Py::Object::validate().

Py::List::List ( int  size = 0  )  [inline]
Py::List::List ( const Sequence s  )  [inline]

Member Function Documentation

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

Reimplemented from Py::SeqBase< T >.

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

References Py::_List_Check().

void Py::List::append ( const Object ob  )  [inline]

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

References Py::Object::ptr().

Referenced by Mesh::MeshPy::crossSections(), Part::GeometryCurvePy::discretize(), Base::BaseClassPy::getAllDerivedFrom(), Py::PythonExtension< StdMeshers_Deflection1DPy >::getattr_methods(), getBoundary_Conditions(), Part::TopoShapePy::getCompounds(), Part::TopoShapePy::getCompSolids(), Part::TopoShapePy::getEdges(), Part::TopoShapePy::getFaces(), Mesh::MeshPy::getFacets(), Mesh::MeshPy::getFacetSelection(), App::DocumentObjectPy::getInList(), Part::BSplineCurvePy::getKnots(), Part::BSplineCurvePy::getKnotSequence(), Part::BSplineCurvePy::getMultiplicities(), App::DocumentPy::getObjects(), App::DocumentPy::getObjectsByLabel(), Gui::View3DInventorPy::getObjectsInfo(), App::DocumentObjectPy::getOutList(), Mesh::MeshPy::getPlanes(), Points::PointsPy::getPoints(), Mesh::MeshPy::getPoints(), Mesh::FacetPy::getPoints(), Mesh::MeshPy::getPointSelection(), Part::BSplineSurfacePy::getPoles(), Part::BSplineCurvePy::getPoles(), Part::BezierSurfacePy::getPoles(), Part::BezierCurvePy::getPoles(), App::PropertyContainerPy::getPropertiesList(), Mesh::PropertyCurvatureList::getPyObject(), App::DocumentPy::getRedoNames(), Mesh::MeshPy::getSegment(), Mesh::MeshPy::getSeparateComponents(), Part::TopoShapePy::getShells(), Part::TopoShapePy::getSolids(), getSortedClusters(), App::DocumentObjectPy::getState(), Gui::SelectionObjectPy::getSubElementNames(), Gui::SelectionObjectPy::getSubObjects(), Mesh::MeshPy::getTopology(), App::PropertyContainerPy::getTypeOfProperty(), Part::BSplineSurfacePy::getUKnots(), Part::BSplineSurfacePy::getUKnotSequence(), Part::BSplineSurfacePy::getUMultiplicities(), App::DocumentPy::getUndoNames(), Part::TopoShapePy::getVertexes(), Part::BSplineSurfacePy::getVKnots(), Part::BSplineSurfacePy::getVKnotSequence(), Part::BSplineSurfacePy::getVMultiplicities(), Robot::TrajectoryPy::getWaypoints(), Part::BSplineSurfacePy::getWeights(), Part::BSplineCurvePy::getWeights(), Part::BezierSurfacePy::getWeights(), Part::BezierCurvePy::getWeights(), Part::TopoShapePy::getWires(), Mesh::FacetPy::intersect(), Gui::View3DInventorPy::listNavigationTypes(), Gui::SelectionFilterPy::result(), Gui::SelectionSingleton::sGetSelection(), Gui::SelectionSingleton::sGetSelectionEx(), Part::TopoShapePy::slice(), sortEdges(), Gui::ViewProviderPythonFeaturePy::supportedProperties(), Part::FeaturePythonPy::supportedProperties(), Mesh::FeaturePythonPy::supportedProperties(), App::FeaturePythonPy::supportedProperties(), App::DocumentPy::supportedTypes(), Part::TopoShapePy::tessellate(), Part::BSplineCurvePy::toBezier(), and wireFromSegment().

virtual size_type Py::List::capacity (  )  const [inline, virtual]

Reimplemented from Py::SeqBase< T >.

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

References Py::SeqBase< T >::max_size().

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

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

References Py::Object::ptr().

void Py::List::insert ( int  i,
const Object ob 
) [inline]

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

References Py::Object::ptr().

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

Reimplemented from Py::SeqBase< T >.

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

References Py::Object::ptr().

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

Reimplemented from Py::SeqBase< T >.

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

void Py::List::reverse (  )  [inline]

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

References Py::Object::ptr().

void Py::List::setSlice ( int  i,
int  j,
const Object v 
) [inline]

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

References Py::Object::ptr().

void Py::List::sort (  )  [inline]

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

References Py::Object::ptr().


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