// 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 _StepBasic_Array1OfApproval_HeaderFile
#define _StepBasic_Array1OfApproval_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_StepBasic_Approval.hxx>
class Standard_RangeError;
class Standard_DimensionMismatch;
class Standard_OutOfRange;
class Standard_OutOfMemory;
class StepBasic_Approval;



class StepBasic_Array1OfApproval 
{
public:

  DEFINE_STANDARD_ALLOC

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




protected:





private:

  
  Standard_EXPORT StepBasic_Array1OfApproval(const StepBasic_Array1OfApproval& AnArray);


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


};

#define Array1Item Handle(StepBasic_Approval)
#define Array1Item_hxx <StepBasic_Approval.hxx>
#define TCollection_Array1 StepBasic_Array1OfApproval
#define TCollection_Array1_hxx <StepBasic_Array1OfApproval.hxx>

#include <TCollection_Array1.lxx>

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




#endif // _StepBasic_Array1OfApproval_HeaderFile
