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

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_Storage_HPArray_HeaderFile
#include <Handle_Storage_HPArray.hxx>
#endif

#ifndef _Storage_PArray_HeaderFile
#include <Storage_PArray.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Handle_Standard_Persistent_HeaderFile
#include <Handle_Standard_Persistent.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class Standard_RangeError;
class Standard_DimensionMismatch;
class Standard_OutOfRange;
class Standard_OutOfMemory;
class Standard_Persistent;
class Storage_PArray;



class Storage_HPArray : public MMgt_TShared {

public:
 // Methods PUBLIC
 // 


Standard_EXPORT Storage_HPArray(const Standard_Integer Low,const Standard_Integer Up);


Standard_EXPORT Storage_HPArray(const Standard_Integer Low,const Standard_Integer Up,const Handle(Standard_Persistent)& V);


Standard_EXPORT   void Init(const Handle(Standard_Persistent)& V) ;

  Standard_Integer Length() const;

  Standard_Integer Lower() const;

  Standard_Integer Upper() const;

  void SetValue(const Standard_Integer Index,const Handle(Standard_Persistent)& Value) ;

 const Handle_Standard_Persistent& Value(const Standard_Integer Index) const;

  Handle_Standard_Persistent& ChangeValue(const Standard_Integer Index) ;

 const Storage_PArray& Array1() const;

  Storage_PArray& ChangeArray1() ;
//Standard_EXPORT ~Storage_HPArray();




 // 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
 //
Storage_PArray myArray;


};

#define ItemHArray1 Handle_Standard_Persistent
#define ItemHArray1_hxx <Standard_Persistent.hxx>
#define TheArray1 Storage_PArray
#define TheArray1_hxx <Storage_PArray.hxx>
#define TCollection_HArray1 Storage_HPArray
#define TCollection_HArray1_hxx <Storage_HPArray.hxx>
#define Handle_TCollection_HArray1 Handle_Storage_HPArray
#define TCollection_HArray1_Type_() Storage_HPArray_Type_()

#include <TCollection_HArray1.lxx>

#undef ItemHArray1
#undef ItemHArray1_hxx
#undef TheArray1
#undef TheArray1_hxx
#undef TCollection_HArray1
#undef TCollection_HArray1_hxx
#undef Handle_TCollection_HArray1
#undef TCollection_HArray1_Type_


// other Inline functions and methods (like "C++: function call" methods)
//


#endif
