|
iterator | begin () const |
| Returns an iterator pointing to the first element in the sequence. More...
|
|
iterator | end () const |
| Returns an iterator referring to the past-the-end element in the sequence. More...
|
|
const_iterator | cbegin () const |
| Returns a const iterator pointing to the first element in the sequence. More...
|
|
const_iterator | cend () const |
| Returns a const iterator referring to the past-the-end element in the sequence. More...
|
|
| NCollection_Sequence (const Handle< NCollection_BaseAllocator > &theAllocator=0L) |
| Constructor. More...
|
|
| NCollection_Sequence (const NCollection_Sequence &theOther) |
| Copy constructor. More...
|
|
Standard_Integer | Size (void) const |
| Number of items. More...
|
|
Standard_Integer | Length (void) const |
| Number of items. More...
|
|
Standard_Integer | Lower () const |
| Method for consistency with other collections. More...
|
|
Standard_Integer | Upper () const |
| Method for consistency with other collections. More...
|
|
Standard_Boolean | IsEmpty (void) const |
| Empty query. More...
|
|
void | Reverse (void) |
| Reverse sequence. More...
|
|
void | Exchange (const Standard_Integer I, const Standard_Integer J) |
| Exchange two members. More...
|
|
void | Clear (const Handle< NCollection_BaseAllocator > &theAllocator=0L) |
| Clear the items out, take a new allocator if non null. More...
|
|
NCollection_Sequence & | Assign (const NCollection_Sequence &theOther) |
| Replace this sequence by the items of theOther. This method does not change the internal allocator. More...
|
|
NCollection_Sequence & | operator= (const NCollection_Sequence &theOther) |
| Replacement operator. More...
|
|
void | Remove (Iterator &thePosition) |
| Remove one item. More...
|
|
void | Remove (const Standard_Integer theIndex) |
| Remove one item. More...
|
|
void | Remove (const Standard_Integer theFromIndex, const Standard_Integer theToIndex) |
| Remove range of items. More...
|
|
void | Append (const TheItemType &theItem) |
| Append one item. More...
|
|
void | Append (NCollection_Sequence &theSeq) |
| Append another sequence (making it empty) More...
|
|
void | Prepend (const TheItemType &theItem) |
| Prepend one item. More...
|
|
void | Prepend (NCollection_Sequence &theSeq) |
| Prepend another sequence (making it empty) More...
|
|
void | InsertBefore (const Standard_Integer theIndex, const TheItemType &theItem) |
| InsertBefore theIndex theItem. More...
|
|
void | InsertBefore (const Standard_Integer theIndex, NCollection_Sequence &theSeq) |
| InsertBefore theIndex another sequence. More...
|
|
void | InsertAfter (Iterator &thePosition, const TheItemType &theItem) |
| InsertAfter the position of iterator. More...
|
|
void | InsertAfter (const Standard_Integer theIndex, NCollection_Sequence &theSeq) |
| InsertAfter theIndex theItem. More...
|
|
void | InsertAfter (const Standard_Integer theIndex, const TheItemType &theItem) |
| InsertAfter theIndex another sequence. More...
|
|
void | Split (const Standard_Integer theIndex, NCollection_Sequence &theSeq) |
| Split in two sequences. More...
|
|
const TheItemType & | First () const |
| First item access. More...
|
|
TheItemType & | ChangeFirst () |
| First item access. More...
|
|
const TheItemType & | Last () const |
| Last item access. More...
|
|
TheItemType & | ChangeLast () |
| Last item access. More...
|
|
const TheItemType & | Value (const Standard_Integer theIndex) const |
| Constant item access by theIndex. More...
|
|
const TheItemType & | operator() (const Standard_Integer theIndex) const |
| Constant operator() More...
|
|
TheItemType & | ChangeValue (const Standard_Integer theIndex) |
| Variable item access by theIndex. More...
|
|
TheItemType & | operator() (const Standard_Integer theIndex) |
| Variable operator() More...
|
|
void | SetValue (const Standard_Integer theIndex, const TheItemType &theItem) |
| Set item value by theIndex. More...
|
|
| ~NCollection_Sequence (void) |
|
Standard_Boolean | IsEmpty () const |
|
Standard_Integer | Length () const |
|
template<class TheItemType>
class NCollection_Sequence< TheItemType >
Purpose: Definition of a sequence of elements indexed by an Integer in range of 1..n