// Created on: 1993-02-05 // Created by: Jacques GOUSSARD // Copyright (c) 1993-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _Contap_SequenceOfIWLineOfTheIWalking_HeaderFile #define _Contap_SequenceOfIWLineOfTheIWalking_HeaderFile #include #include #include #include #include class Standard_NoSuchObject; class Standard_OutOfRange; class Contap_TheIWLineOfTheIWalking; class Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking; class Contap_SequenceOfIWLineOfTheIWalking : public TCollection_BaseSequence { public: DEFINE_STANDARD_ALLOC Contap_SequenceOfIWLineOfTheIWalking(); Standard_EXPORT Contap_SequenceOfIWLineOfTheIWalking(const Contap_SequenceOfIWLineOfTheIWalking& Other); Standard_EXPORT void Clear(); ~Contap_SequenceOfIWLineOfTheIWalking() { Clear(); } Standard_EXPORT const Contap_SequenceOfIWLineOfTheIWalking& Assign (const Contap_SequenceOfIWLineOfTheIWalking& Other); const Contap_SequenceOfIWLineOfTheIWalking& operator = (const Contap_SequenceOfIWLineOfTheIWalking& Other) { return Assign(Other); } Standard_EXPORT void Append (const Handle(Contap_TheIWLineOfTheIWalking)& T); void Append (Contap_SequenceOfIWLineOfTheIWalking& S); Standard_EXPORT void Prepend (const Handle(Contap_TheIWLineOfTheIWalking)& T); void Prepend (Contap_SequenceOfIWLineOfTheIWalking& S); void InsertBefore (const Standard_Integer Index, const Handle(Contap_TheIWLineOfTheIWalking)& T); void InsertBefore (const Standard_Integer Index, Contap_SequenceOfIWLineOfTheIWalking& S); Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(Contap_TheIWLineOfTheIWalking)& T); void InsertAfter (const Standard_Integer Index, Contap_SequenceOfIWLineOfTheIWalking& S); Standard_EXPORT const Handle(Contap_TheIWLineOfTheIWalking)& First() const; Standard_EXPORT const Handle(Contap_TheIWLineOfTheIWalking)& Last() const; void Split (const Standard_Integer Index, Contap_SequenceOfIWLineOfTheIWalking& Sub); Standard_EXPORT const Handle(Contap_TheIWLineOfTheIWalking)& Value (const Standard_Integer Index) const; const Handle(Contap_TheIWLineOfTheIWalking)& operator() (const Standard_Integer Index) const { return Value(Index); } Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(Contap_TheIWLineOfTheIWalking)& I); Standard_EXPORT Handle(Contap_TheIWLineOfTheIWalking)& ChangeValue (const Standard_Integer Index); Handle(Contap_TheIWLineOfTheIWalking)& operator() (const Standard_Integer Index) { return ChangeValue(Index); } Standard_EXPORT void Remove (const Standard_Integer Index); Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); protected: private: }; #define SeqItem Handle(Contap_TheIWLineOfTheIWalking) #define SeqItem_hxx #define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking #define TCollection_SequenceNode_hxx #define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking) #define TCollection_Sequence Contap_SequenceOfIWLineOfTheIWalking #define TCollection_Sequence_hxx #include #undef SeqItem #undef SeqItem_hxx #undef TCollection_SequenceNode #undef TCollection_SequenceNode_hxx #undef Handle_TCollection_SequenceNode #undef TCollection_Sequence #undef TCollection_Sequence_hxx #endif // _Contap_SequenceOfIWLineOfTheIWalking_HeaderFile