// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Graphic2d_DisplayList_HeaderFile #define _Graphic2d_DisplayList_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Graphic2d_DisplayList_HeaderFile #include #endif #ifndef _Graphic2d_SequenceOfGraphicObject_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Handle_Graphic2d_GraphicObject_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class Standard_NoSuchObject; class Standard_OutOfRange; class Graphic2d_GraphicObject; class Graphic2d_SequenceOfGraphicObject; class Graphic2d_DisplayList : public MMgt_TShared { public: Graphic2d_DisplayList(); Standard_Boolean IsEmpty() const; Standard_Integer Length() const; Standard_EXPORT void Clear() ; Standard_EXPORT void Append(const Handle(Graphic2d_GraphicObject)& anItem) ; Standard_EXPORT void Append(const Handle(Graphic2d_DisplayList)& aSequence) ; Standard_EXPORT void Prepend(const Handle(Graphic2d_GraphicObject)& anItem) ; Standard_EXPORT void Prepend(const Handle(Graphic2d_DisplayList)& aSequence) ; Standard_EXPORT void Reverse() ; Standard_EXPORT void InsertBefore(const Standard_Integer anIndex,const Handle(Graphic2d_GraphicObject)& anItem) ; Standard_EXPORT void InsertBefore(const Standard_Integer anIndex,const Handle(Graphic2d_DisplayList)& aSequence) ; Standard_EXPORT void InsertAfter(const Standard_Integer anIndex,const Handle(Graphic2d_GraphicObject)& anItem) ; Standard_EXPORT void InsertAfter(const Standard_Integer anIndex,const Handle(Graphic2d_DisplayList)& aSequence) ; Standard_EXPORT void Exchange(const Standard_Integer anIndex,const Standard_Integer anOtherIndex) ; Standard_EXPORT Handle_Graphic2d_DisplayList Split(const Standard_Integer anIndex) ; Standard_EXPORT void SetValue(const Standard_Integer anIndex,const Handle(Graphic2d_GraphicObject)& anItem) ; Standard_EXPORT const Handle_Graphic2d_GraphicObject& Value(const Standard_Integer anIndex) const; Standard_EXPORT Handle_Graphic2d_GraphicObject& ChangeValue(const Standard_Integer anIndex) ; Standard_EXPORT void Remove(const Standard_Integer anIndex) ; Standard_EXPORT void Remove(const Standard_Integer fromIndex,const Standard_Integer toIndex) ; const Graphic2d_SequenceOfGraphicObject& Sequence() const; Graphic2d_SequenceOfGraphicObject& ChangeSequence() ; Standard_EXPORT Handle_Graphic2d_DisplayList ShallowCopy() const; DEFINE_STANDARD_RTTI(Graphic2d_DisplayList) protected: private: Graphic2d_SequenceOfGraphicObject mySequence; }; #define Item Handle_Graphic2d_GraphicObject #define Item_hxx #define TheSequence Graphic2d_SequenceOfGraphicObject #define TheSequence_hxx #define TCollection_HSequence Graphic2d_DisplayList #define TCollection_HSequence_hxx #define Handle_TCollection_HSequence Handle_Graphic2d_DisplayList #define TCollection_HSequence_Type_() Graphic2d_DisplayList_Type_() #include #undef Item #undef Item_hxx #undef TheSequence #undef TheSequence_hxx #undef TCollection_HSequence #undef TCollection_HSequence_hxx #undef Handle_TCollection_HSequence #undef TCollection_HSequence_Type_ // other Inline functions and methods (like "C++: function call" methods) inline Handle_Graphic2d_DisplayList ShallowCopy(const Handle_Graphic2d_DisplayList& me) { return me->ShallowCopy(); } #endif