// 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 _TColGeom2d_Array1OfCurve_HeaderFile
#define _TColGeom2d_Array1OfCurve_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <Standard_Integer.hxx>
#include <Standard_Address.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_Geom2d_Curve.hxx>
class Standard_RangeError;
class Standard_DimensionMismatch;
class Standard_OutOfRange;
class Standard_OutOfMemory;
class Geom2d_Curve;



class TColGeom2d_Array1OfCurve 
{
public:

  DEFINE_STANDARD_ALLOC

  
    TColGeom2d_Array1OfCurve(const Standard_Integer Low, const Standard_Integer Up);
  
    TColGeom2d_Array1OfCurve(const Handle(Geom2d_Curve)& Item, const Standard_Integer Low, const Standard_Integer Up);
  
  Standard_EXPORT   void Init (const Handle(Geom2d_Curve)& V) ;
  
      void Destroy() ;
~TColGeom2d_Array1OfCurve()
{
  Destroy();
}
  
      Standard_Boolean IsAllocated()  const;
  
  Standard_EXPORT  const  TColGeom2d_Array1OfCurve& Assign (const TColGeom2d_Array1OfCurve& Other) ;
 const  TColGeom2d_Array1OfCurve& operator = (const TColGeom2d_Array1OfCurve& Other) 
{
  return Assign(Other);
}
  
      Standard_Integer Length()  const;
  
      Standard_Integer Lower()  const;
  
      Standard_Integer Upper()  const;
  
      void SetValue (const Standard_Integer Index, const Handle(Geom2d_Curve)& Value) ;
  
     const  Handle(Geom2d_Curve)& Value (const Standard_Integer Index)  const;
   const  Handle(Geom2d_Curve)& operator () (const Standard_Integer Index)  const
{
  return Value(Index);
}
  
      Handle(Geom2d_Curve)& ChangeValue (const Standard_Integer Index) ;
    Handle(Geom2d_Curve)& operator () (const Standard_Integer Index) 
{
  return ChangeValue(Index);
}




protected:





private:

  
  Standard_EXPORT TColGeom2d_Array1OfCurve(const TColGeom2d_Array1OfCurve& AnArray);


  Standard_Integer myLowerBound;
  Standard_Integer myUpperBound;
  Standard_Address myStart;
  Standard_Boolean isAllocated;


};

#define Array1Item Handle(Geom2d_Curve)
#define Array1Item_hxx <Geom2d_Curve.hxx>
#define TCollection_Array1 TColGeom2d_Array1OfCurve
#define TCollection_Array1_hxx <TColGeom2d_Array1OfCurve.hxx>

#include <TCollection_Array1.lxx>

#undef Array1Item
#undef Array1Item_hxx
#undef TCollection_Array1
#undef TCollection_Array1_hxx




#endif // _TColGeom2d_Array1OfCurve_HeaderFile
