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

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

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



class TopTools_Array1OfShape 
{
public:

  DEFINE_STANDARD_ALLOC

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




protected:





private:

  
  Standard_EXPORT TopTools_Array1OfShape(const TopTools_Array1OfShape& AnArray);


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


};

#define Array1Item TopoDS_Shape
#define Array1Item_hxx <TopoDS_Shape.hxx>
#define TCollection_Array1 TopTools_Array1OfShape
#define TCollection_Array1_hxx <TopTools_Array1OfShape.hxx>

#include <TCollection_Array1.lxx>

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




#endif // _TopTools_Array1OfShape_HeaderFile
