Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
IntTools_SequenceOfRanges Class Reference

#include <IntTools_SequenceOfRanges.hxx>

Inheritance diagram for IntTools_SequenceOfRanges:
Inheritance graph
[legend]

Public Member Functions

 IntTools_SequenceOfRanges ()
 
void Clear ()
 
 ~IntTools_SequenceOfRanges ()
 
const IntTools_SequenceOfRangesAssign (const IntTools_SequenceOfRanges &Other)
 
const IntTools_SequenceOfRangesoperator= (const IntTools_SequenceOfRanges &Other)
 
void Append (const IntTools_Range &T)
 
void Append (IntTools_SequenceOfRanges &S)
 
void Prepend (const IntTools_Range &T)
 
void Prepend (IntTools_SequenceOfRanges &S)
 
void InsertBefore (const Standard_Integer Index, const IntTools_Range &T)
 
void InsertBefore (const Standard_Integer Index, IntTools_SequenceOfRanges &S)
 
void InsertAfter (const Standard_Integer Index, const IntTools_Range &T)
 
void InsertAfter (const Standard_Integer Index, IntTools_SequenceOfRanges &S)
 
const IntTools_RangeFirst () const
 
const IntTools_RangeLast () const
 
void Split (const Standard_Integer Index, IntTools_SequenceOfRanges &Sub)
 
const IntTools_RangeValue (const Standard_Integer Index) const
 
const IntTools_Rangeoperator() (const Standard_Integer Index) const
 
void SetValue (const Standard_Integer Index, const IntTools_Range &I)
 
IntTools_RangeChangeValue (const Standard_Integer Index)
 
IntTools_Rangeoperator() (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 <br>

sequence. Returns zero if the sequence is empty.
More...

 
void Reverse ()
 
 Reverses the order of items on <me>. <br>

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 <br>

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>. <br>

<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>. <br>

<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 <br>

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 <br>

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

IntTools_SequenceOfRanges::IntTools_SequenceOfRanges ( )
IntTools_SequenceOfRanges::~IntTools_SequenceOfRanges ( )
inline

Member Function Documentation

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

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