Open CASCADE Technology  6.9.0
Public Member Functions

TopTools_SequenceOfShape Class Reference

#include <TopTools_SequenceOfShape.hxx>

Inheritance diagram for TopTools_SequenceOfShape:
Inheritance graph
[legend]

Public Member Functions

 TopTools_SequenceOfShape ()
 
 TopTools_SequenceOfShape (const TopTools_SequenceOfShape &Other)
 
void Clear ()
 
 ~TopTools_SequenceOfShape ()
 
const TopTools_SequenceOfShapeAssign (const TopTools_SequenceOfShape &Other)
 
const TopTools_SequenceOfShapeoperator= (const TopTools_SequenceOfShape &Other)
 
void Append (const TopoDS_Shape &T)
 
void Append (TopTools_SequenceOfShape &S)
 
void Prepend (const TopoDS_Shape &T)
 
void Prepend (TopTools_SequenceOfShape &S)
 
void InsertBefore (const Standard_Integer Index, const TopoDS_Shape &T)
 
void InsertBefore (const Standard_Integer Index, TopTools_SequenceOfShape &S)
 
void InsertAfter (const Standard_Integer Index, const TopoDS_Shape &T)
 
void InsertAfter (const Standard_Integer Index, TopTools_SequenceOfShape &S)
 
const TopoDS_ShapeFirst () const
 
const TopoDS_ShapeLast () const
 
void Split (const Standard_Integer Index, TopTools_SequenceOfShape &Sub)
 
const TopoDS_ShapeValue (const Standard_Integer Index) const
 
const TopoDS_Shapeoperator() (const Standard_Integer Index) const
 
void SetValue (const Standard_Integer Index, const TopoDS_Shape &I)
 
TopoDS_ShapeChangeValue (const Standard_Integer Index)
 
TopoDS_Shapeoperator() (const Standard_Integer Index)
 
void Remove (const Standard_Integer Index)
 
void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex)
 
- Public Member Functions inherited from TCollection_BaseSequence
Standard_Boolean IsEmpty () const
 returns True if the sequence <me> contains no elements. More...
 
Standard_Integer Length () const
 Returns the number of element(s) in the sequence. Returns zero if the sequence is empty. More...
 
void Reverse ()
 Reverses the order of items on <me>. Example: before me = (A B C) after me = (C B A) More...
 
void Exchange (const Standard_Integer I, const Standard_Integer J)
 Swaps elements which are located at positions and <J> in <me>. Raises an exception if I or J is out of bound. Example: before me = (A B C), I = 1, J = 3 after me = (C B A) More...
 

Additional Inherited Members

- Protected Member Functions inherited from TCollection_BaseSequence
 TCollection_BaseSequence ()
 Creation of an empty sequence. More...
 
void Clear (const Standard_Address DelNode)
 
void PAppend (const Standard_Address Node)
 
void PAppend (TCollection_BaseSequence &S)
 Concatenates <S> at the end of <me>. <S> is cleared. Example: before me = (A B C) S = (D E F) after me = (A B C D E F) S = () More...
 
void PPrepend (const Standard_Address Node)
 
void PPrepend (TCollection_BaseSequence &S)
 Concatenates <S> at the beginning of <me>. <S> is cleared. Example: before me = (A B C) S = (D E F) after me = (D E F A B C) S = () More...
 
void PInsertAfter (const Standard_Integer Index, const Standard_Address Node)
 
void PInsertAfter (const Standard_Integer Index, TCollection_BaseSequence &S)
 Inserts the sequence <S> in <me> after the position <Index>. <S> is cleared. Raises an exception if the index is out of bound. Example: before me = (A B C), Index = 3, S = (D E F) after me = (A B C D E F) S = () More...
 
void PSplit (const Standard_Integer Index, TCollection_BaseSequence &Sub)
 Keeps in <me> the items 1 to <Index>-1 and puts in the items <Index> to the end. Example: before me = (A B C D) ,Index = 3 after me = (A B) Sub = (C D) More...
 
void Remove (const Standard_Integer Index, const Standard_Address DelNode)
 
void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex, const Standard_Address DelNode)
 
Standard_Address Find (const Standard_Integer Index) const
 Returns the node at position <index>. More...
 
- Protected Attributes inherited from TCollection_BaseSequence
Standard_Address FirstItem
 
Standard_Address LastItem
 
Standard_Address CurrentItem
 
Standard_Integer CurrentIndex
 
Standard_Integer Size
 

Constructor & Destructor Documentation

TopTools_SequenceOfShape::TopTools_SequenceOfShape ( )
TopTools_SequenceOfShape::TopTools_SequenceOfShape ( const TopTools_SequenceOfShape Other)
TopTools_SequenceOfShape::~TopTools_SequenceOfShape ( )
inline

Member Function Documentation

void TopTools_SequenceOfShape::Append ( const TopoDS_Shape T)
void TopTools_SequenceOfShape::Append ( TopTools_SequenceOfShape S)
const TopTools_SequenceOfShape& TopTools_SequenceOfShape::Assign ( const TopTools_SequenceOfShape Other)
TopoDS_Shape& TopTools_SequenceOfShape::ChangeValue ( const Standard_Integer  Index)
void TopTools_SequenceOfShape::Clear ( )
const TopoDS_Shape& TopTools_SequenceOfShape::First ( ) const
void TopTools_SequenceOfShape::InsertAfter ( const Standard_Integer  Index,
const TopoDS_Shape T 
)
void TopTools_SequenceOfShape::InsertAfter ( const Standard_Integer  Index,
TopTools_SequenceOfShape S 
)
void TopTools_SequenceOfShape::InsertBefore ( const Standard_Integer  Index,
const TopoDS_Shape T 
)
void TopTools_SequenceOfShape::InsertBefore ( const Standard_Integer  Index,
TopTools_SequenceOfShape S 
)
const TopoDS_Shape& TopTools_SequenceOfShape::Last ( ) const
const TopoDS_Shape& TopTools_SequenceOfShape::operator() ( const Standard_Integer  Index) const
inline
TopoDS_Shape& TopTools_SequenceOfShape::operator() ( const Standard_Integer  Index)
inline
const TopTools_SequenceOfShape& TopTools_SequenceOfShape::operator= ( const TopTools_SequenceOfShape Other)
inline
void TopTools_SequenceOfShape::Prepend ( const TopoDS_Shape T)
void TopTools_SequenceOfShape::Prepend ( TopTools_SequenceOfShape S)
void TopTools_SequenceOfShape::Remove ( const Standard_Integer  Index)
void TopTools_SequenceOfShape::Remove ( const Standard_Integer  FromIndex,
const Standard_Integer  ToIndex 
)
void TopTools_SequenceOfShape::SetValue ( const Standard_Integer  Index,
const TopoDS_Shape I 
)
void TopTools_SequenceOfShape::Split ( const Standard_Integer  Index,
TopTools_SequenceOfShape Sub 
)
const TopoDS_Shape& TopTools_SequenceOfShape::Value ( const Standard_Integer  Index) const

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