Py::SeqBase< T > Class Template Reference

#include <Objects.hxx>

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

List of all members.

Classes

class  const_iterator
class  iterator

Public Types

typedef T const_reference
typedef int difference_type
typedef seqref< T > * pointer
typedef seqref< T > reference
typedef size_t size_type
typedef T value_type

Public Member Functions

virtual bool accepts (PyObject *pyob) const
seqref< T > back ()
const T back () const
const_iterator begin () const
iterator begin ()
virtual size_type capacity () const
SeqBase< T > concat (const SeqBase< T > &other) const
const_iterator end () const
iterator end ()
seqref< T > front ()
const T front () const
virtual T getItem (sequence_index_type i) const
size_type length () const
virtual size_type max_size () const
SeqBase< T > & operator= (PyObject *rhsp)
SeqBase< T > & operator= (const Object &rhs)
seqref< T > operator[] (sequence_index_type index)
const T operator[] (sequence_index_type index) const
SeqBase< T > repeat (int count) const
 SeqBase (const Object &ob)
 SeqBase (PyObject *pyob, bool owned=false)
 SeqBase ()
virtual void setItem (sequence_index_type i, const T &ob)
virtual size_type size () const
virtual void swap (SeqBase< T > &c)
void verify_length (size_type min_size, size_type max_size) const
void verify_length (size_type required_size) const

Detailed Description

template<TEMPLATE_TYPENAME T>
class Py::SeqBase< T >

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


Member Typedef Documentation

template<TEMPLATE_TYPENAME T>
typedef T Py::SeqBase< T >::const_reference

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

template<TEMPLATE_TYPENAME T>
typedef int Py::SeqBase< T >::difference_type

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

template<TEMPLATE_TYPENAME T>
typedef seqref<T>* Py::SeqBase< T >::pointer

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

template<TEMPLATE_TYPENAME T>
typedef seqref<T> Py::SeqBase< T >::reference

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

template<TEMPLATE_TYPENAME T>
typedef size_t Py::SeqBase< T >::size_type

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

template<TEMPLATE_TYPENAME T>
typedef T Py::SeqBase< T >::value_type

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


Constructor & Destructor Documentation

template<TEMPLATE_TYPENAME T>
Py::SeqBase< T >::SeqBase (  )  [inline, explicit]
template<TEMPLATE_TYPENAME T>
Py::SeqBase< T >::SeqBase ( PyObject pyob,
bool  owned = false 
) [inline, explicit]
template<TEMPLATE_TYPENAME T>
Py::SeqBase< T >::SeqBase ( const Object ob  )  [inline]

Member Function Documentation

template<TEMPLATE_TYPENAME T>
virtual bool Py::SeqBase< T >::accepts ( PyObject pyob  )  const [inline, virtual]

Reimplemented from Py::Object.

Reimplemented in Py::String, Py::Tuple, and Py::List.

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

template<TEMPLATE_TYPENAME T>
seqref<T> Py::SeqBase< T >::back (  )  [inline]

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

template<TEMPLATE_TYPENAME T>
const T Py::SeqBase< T >::back (  )  const [inline]

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

template<TEMPLATE_TYPENAME T>
const_iterator Py::SeqBase< T >::begin (  )  const [inline]

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

template<TEMPLATE_TYPENAME T>
iterator Py::SeqBase< T >::begin (  )  [inline]

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

Referenced by Mesh::MeshPy::addFacets(), Points::PointsPy::addPoints(), Gui::TaskView::ControlPy::addTaskWatcher(), Part::BSplineCurvePy::approximate(), approxSurface(), Part::BSplineCurvePy::buildFromPoles(), Py::MapBase< T >::clear(), Mesh::MeshObject::createMeshFromList(), Mesh::MeshPy::crossSections(), exporter(), getSortedClusters(), Part::BSplineCurvePy::insertKnots(), Part::BezierSurfacePy::insertPoleColAfter(), Part::BezierSurfacePy::insertPoleColBefore(), Part::BezierSurfacePy::insertPoleRowAfter(), Part::BezierSurfacePy::insertPoleRowBefore(), Part::BSplineSurfacePy::insertUKnots(), Part::BSplineSurfacePy::insertVKnots(), Robot::TrajectoryPy::insertWaypoints(), Part::BSplineCurvePy::interpolate(), Part::TopoShapePy::makeChamfer(), makeCompound(), makeFilledFace(), Part::TopoShapePy::makeFillet(), makeLoft(), Part::TopoShapeWirePy::makePipeShell(), makePolygon(), Part::TopoShapePy::makeShapeFromMesh(), makeShell(), Part::TopoShapePy::makeThickness(), Mesh::MeshPy::meshFromSegment(), Part::TopoShapePy::project(), Robot::TrajectoryPy::PyInit(), Part::TopoShapeWirePy::PyInit(), Part::TopoShapeShellPy::PyInit(), Part::TopoShapePy::PyInit(), Part::TopoShapeFacePy::PyInit(), Part::TopoShapeCompSolidPy::PyInit(), Part::TopoShapeCompoundPy::PyInit(), Mesh::MeshPy::removeFacets(), Part::TopoShapePy::removeShape(), Part::TopoShapePy::replaceShape(), Part::BSplineCurvePy::setKnots(), Part::BSplineSurfacePy::setPoleCol(), Part::BezierSurfacePy::setPoleCol(), Part::BSplineSurfacePy::setPoleRow(), Part::BezierSurfacePy::setPoleRow(), Part::BezierCurvePy::setPoles(), Part::PropertyFilletEdges::setPyObject(), App::PropertyLinkSub::setPyObject(), Part::BSplineSurfacePy::setUKnots(), Part::BSplineSurfacePy::setVKnots(), Part::BSplineSurfacePy::setWeightCol(), Part::BezierSurfacePy::setWeightCol(), Part::BSplineSurfacePy::setWeightRow(), Part::BezierSurfacePy::setWeightRow(), Gui::Application::sExport(), Part::TopoShapePy::slices(), and sortEdges().

template<TEMPLATE_TYPENAME T>
virtual size_type Py::SeqBase< T >::capacity (  )  const [inline, virtual]

Reimplemented in Py::String, and Py::List.

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

template<TEMPLATE_TYPENAME T>
SeqBase<T> Py::SeqBase< T >::concat ( const SeqBase< T > &  other  )  const [inline]

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

template<TEMPLATE_TYPENAME T>
const_iterator Py::SeqBase< T >::end (  )  const [inline]

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

template<TEMPLATE_TYPENAME T>
iterator Py::SeqBase< T >::end (  )  [inline]

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

Referenced by Mesh::MeshPy::addFacets(), Points::PointsPy::addPoints(), Gui::TaskView::ControlPy::addTaskWatcher(), Part::BSplineCurvePy::approximate(), approxSurface(), Part::BSplineCurvePy::buildFromPoles(), Py::MapBase< T >::clear(), Mesh::MeshObject::createMeshFromList(), Mesh::MeshPy::crossSections(), exporter(), getSortedClusters(), Part::BSplineCurvePy::insertKnots(), Part::BezierSurfacePy::insertPoleColAfter(), Part::BezierSurfacePy::insertPoleColBefore(), Part::BezierSurfacePy::insertPoleRowAfter(), Part::BezierSurfacePy::insertPoleRowBefore(), Part::BSplineSurfacePy::insertUKnots(), Part::BSplineSurfacePy::insertVKnots(), Robot::TrajectoryPy::insertWaypoints(), Part::BSplineCurvePy::interpolate(), Part::TopoShapePy::makeChamfer(), makeCompound(), makeFilledFace(), Part::TopoShapePy::makeFillet(), makeLoft(), Part::TopoShapeWirePy::makePipeShell(), makePolygon(), Part::TopoShapePy::makeShapeFromMesh(), makeShell(), Part::TopoShapePy::makeThickness(), Mesh::MeshPy::meshFromSegment(), Part::TopoShapePy::project(), Robot::TrajectoryPy::PyInit(), Part::TopoShapeWirePy::PyInit(), Part::TopoShapeShellPy::PyInit(), Part::TopoShapePy::PyInit(), Part::TopoShapeFacePy::PyInit(), Part::TopoShapeCompSolidPy::PyInit(), Part::TopoShapeCompoundPy::PyInit(), Mesh::MeshPy::removeFacets(), Part::TopoShapePy::removeShape(), Part::TopoShapePy::replaceShape(), Part::BSplineCurvePy::setKnots(), Part::BSplineSurfacePy::setPoleCol(), Part::BezierSurfacePy::setPoleCol(), Part::BSplineSurfacePy::setPoleRow(), Part::BezierSurfacePy::setPoleRow(), Part::BezierCurvePy::setPoles(), Part::PropertyFilletEdges::setPyObject(), App::PropertyLinkSub::setPyObject(), Part::BSplineSurfacePy::setUKnots(), Part::BSplineSurfacePy::setVKnots(), Part::BSplineSurfacePy::setWeightCol(), Part::BezierSurfacePy::setWeightCol(), Part::BSplineSurfacePy::setWeightRow(), Part::BezierSurfacePy::setWeightRow(), Gui::Application::sExport(), Part::TopoShapePy::slices(), and sortEdges().

template<TEMPLATE_TYPENAME T>
seqref<T> Py::SeqBase< T >::front (  )  [inline]

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

template<TEMPLATE_TYPENAME T>
const T Py::SeqBase< T >::front (  )  const [inline]

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

template<TEMPLATE_TYPENAME T>
virtual T Py::SeqBase< T >::getItem ( sequence_index_type  i  )  const [inline, virtual]
template<TEMPLATE_TYPENAME T>
size_type Py::SeqBase< T >::length (  )  const [inline]
template<TEMPLATE_TYPENAME T>
virtual size_type Py::SeqBase< T >::max_size (  )  const [inline, virtual]

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

Referenced by Py::List::capacity(), and Py::String::capacity().

template<TEMPLATE_TYPENAME T>
SeqBase<T>& Py::SeqBase< T >::operator= ( PyObject rhsp  )  [inline]

Reimplemented from Py::Object.

Reimplemented in Py::String, Py::Tuple, and Py::List.

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

template<TEMPLATE_TYPENAME T>
SeqBase<T>& Py::SeqBase< T >::operator= ( const Object rhs  )  [inline]

Reimplemented in Py::String, Py::Tuple, and Py::List.

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

template<TEMPLATE_TYPENAME T>
seqref<T> Py::SeqBase< T >::operator[] ( sequence_index_type  index  )  [inline]

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

template<TEMPLATE_TYPENAME T>
const T Py::SeqBase< T >::operator[] ( sequence_index_type  index  )  const [inline]

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

template<TEMPLATE_TYPENAME T>
SeqBase<T> Py::SeqBase< T >::repeat ( int  count  )  const [inline]

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

template<TEMPLATE_TYPENAME T>
virtual void Py::SeqBase< T >::setItem ( sequence_index_type  i,
const T &  ob 
) [inline, virtual]

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

Referenced by App::PropertyLinkList::getPyObject().

template<TEMPLATE_TYPENAME T>
virtual size_type Py::SeqBase< T >::size (  )  const [inline, virtual]
template<TEMPLATE_TYPENAME T>
virtual void Py::SeqBase< T >::swap ( SeqBase< T > &  c  )  [inline, virtual]

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

template<TEMPLATE_TYPENAME T>
void Py::SeqBase< T >::verify_length ( size_type  min_size,
size_type  max_size 
) const [inline]

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

template<TEMPLATE_TYPENAME T>
void Py::SeqBase< T >::verify_length ( size_type  required_size  )  const [inline]

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


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