// File generated by CPPExt (Transient)
//
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _Graphic2d_HSequenceOfPrimitives_HeaderFile
#define _Graphic2d_HSequenceOfPrimitives_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_Graphic2d_HSequenceOfPrimitives_HeaderFile
#include <Handle_Graphic2d_HSequenceOfPrimitives.hxx>
#endif

#ifndef _Graphic2d_SequenceOfPrimitives_HeaderFile
#include <Graphic2d_SequenceOfPrimitives.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Handle_Graphic2d_Primitive_HeaderFile
#include <Handle_Graphic2d_Primitive.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class Standard_NoSuchObject;
class Standard_OutOfRange;
class Graphic2d_Primitive;
class Graphic2d_SequenceOfPrimitives;



class Graphic2d_HSequenceOfPrimitives : public MMgt_TShared {

public:
 // Methods PUBLIC
 // 

Graphic2d_HSequenceOfPrimitives();

  Standard_Boolean IsEmpty() const;

  Standard_Integer Length() const;


Standard_EXPORT   void Clear() ;


Standard_EXPORT   void Append(const Handle(Graphic2d_Primitive)& anItem) ;


Standard_EXPORT   void Append(const Handle(Graphic2d_HSequenceOfPrimitives)& aSequence) ;


Standard_EXPORT   void Prepend(const Handle(Graphic2d_Primitive)& anItem) ;


Standard_EXPORT   void Prepend(const Handle(Graphic2d_HSequenceOfPrimitives)& aSequence) ;


Standard_EXPORT   void Reverse() ;


Standard_EXPORT   void InsertBefore(const Standard_Integer anIndex,const Handle(Graphic2d_Primitive)& anItem) ;


Standard_EXPORT   void InsertBefore(const Standard_Integer anIndex,const Handle(Graphic2d_HSequenceOfPrimitives)& aSequence) ;


Standard_EXPORT   void InsertAfter(const Standard_Integer anIndex,const Handle(Graphic2d_Primitive)& anItem) ;


Standard_EXPORT   void InsertAfter(const Standard_Integer anIndex,const Handle(Graphic2d_HSequenceOfPrimitives)& aSequence) ;


Standard_EXPORT   void Exchange(const Standard_Integer anIndex,const Standard_Integer anOtherIndex) ;


Standard_EXPORT   Handle_Graphic2d_HSequenceOfPrimitives Split(const Standard_Integer anIndex) ;


Standard_EXPORT   void SetValue(const Standard_Integer anIndex,const Handle(Graphic2d_Primitive)& anItem) ;


Standard_EXPORT  const Handle_Graphic2d_Primitive& Value(const Standard_Integer anIndex) const;


Standard_EXPORT   Handle_Graphic2d_Primitive& 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_SequenceOfPrimitives& Sequence() const;

  Graphic2d_SequenceOfPrimitives& ChangeSequence() ;


Standard_EXPORT   Handle_Graphic2d_HSequenceOfPrimitives ShallowCopy() const;
//Standard_EXPORT ~Graphic2d_HSequenceOfPrimitives();




 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
 //Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
Graphic2d_SequenceOfPrimitives mySequence;


};

#define Item Handle_Graphic2d_Primitive
#define Item_hxx <Graphic2d_Primitive.hxx>
#define TheSequence Graphic2d_SequenceOfPrimitives
#define TheSequence_hxx <Graphic2d_SequenceOfPrimitives.hxx>
#define TCollection_HSequence Graphic2d_HSequenceOfPrimitives
#define TCollection_HSequence_hxx <Graphic2d_HSequenceOfPrimitives.hxx>
#define Handle_TCollection_HSequence Handle_Graphic2d_HSequenceOfPrimitives
#define TCollection_HSequence_Type_() Graphic2d_HSequenceOfPrimitives_Type_()

#include <TCollection_HSequence.lxx>

#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_HSequenceOfPrimitives ShallowCopy(const Handle_Graphic2d_HSequenceOfPrimitives& me) {
 return me->ShallowCopy();
}



#endif
