// File generated by CPPExt (Persistent CSFDB)
//
//
//                     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 _PColStd_HArray2OfPersistent_HeaderFile
#define _PColStd_HArray2OfPersistent_HeaderFile

#ifndef _Handle_PColStd_HArray2OfPersistent_HeaderFile
#include <Handle_PColStd_HArray2OfPersistent.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_Standard_Persistent_HeaderFile
#include <Handle_Standard_Persistent.hxx>
#endif
#ifndef _PColStd_FieldOfHArray2OfPersistent_HeaderFile
#include <PColStd_FieldOfHArray2OfPersistent.hxx>
#endif
#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
#ifndef _Standard_Persistent_HeaderFile
#include <Standard_Persistent.hxx>
#endif
#ifndef _Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_HeaderFile
#include <Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx>
#endif
#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
class Standard_Persistent;
class Standard_RangeError;
class Standard_OutOfRange;
class PColStd_FieldOfHArray2OfPersistent;
class PColStd_VArrayNodeOfFieldOfHArray2OfPersistent;
class PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent;


class PColStd_HArray2OfPersistent : public Standard_Persistent {

public:

 // Methods PUBLIC
 // 


Standard_EXPORT PColStd_HArray2OfPersistent(const Standard_Integer R1,const Standard_Integer R2,const Standard_Integer C1,const Standard_Integer C2);


Standard_EXPORT PColStd_HArray2OfPersistent(const Standard_Integer R1,const Standard_Integer R2,const Standard_Integer C1,const Standard_Integer C2,const Handle(Standard_Persistent)& V);


Standard_EXPORT   Standard_Integer ColLength() const;

  Standard_Integer LowerCol() const;

  Standard_Integer LowerRow() const;


Standard_EXPORT   Standard_Integer RowLength() const;


Standard_EXPORT   void SetValue(const Standard_Integer Row,const Standard_Integer Col,const Handle(Standard_Persistent)& Value) ;

  Standard_Integer UpperCol() const;

  Standard_Integer UpperRow() const;


Standard_EXPORT   Handle_Standard_Persistent Value(const Standard_Integer Row,const Standard_Integer Col) const;


Standard_EXPORT virtual  Handle_Standard_Persistent ShallowCopy() const;


Standard_EXPORT virtual  void ShallowDump(Standard_OStream& s) const;
//Standard_EXPORT ~PColStd_HArray2OfPersistent();
PColStd_HArray2OfPersistent( )
{
  
}

PColStd_HArray2OfPersistent(const Storage_stCONSTclCOM& a) : Standard_Persistent(a)
{
  
}

    Standard_Integer _CSFDB_GetPColStd_HArray2OfPersistentmyLowerRow() const { return myLowerRow; }
    void _CSFDB_SetPColStd_HArray2OfPersistentmyLowerRow(const Standard_Integer p) { myLowerRow = p; }
    Standard_Integer _CSFDB_GetPColStd_HArray2OfPersistentmyLowerCol() const { return myLowerCol; }
    void _CSFDB_SetPColStd_HArray2OfPersistentmyLowerCol(const Standard_Integer p) { myLowerCol = p; }
    Standard_Integer _CSFDB_GetPColStd_HArray2OfPersistentmyUpperRow() const { return myUpperRow; }
    void _CSFDB_SetPColStd_HArray2OfPersistentmyUpperRow(const Standard_Integer p) { myUpperRow = p; }
    Standard_Integer _CSFDB_GetPColStd_HArray2OfPersistentmyUpperCol() const { return myUpperCol; }
    void _CSFDB_SetPColStd_HArray2OfPersistentmyUpperCol(const Standard_Integer p) { myUpperCol = p; }
    const PColStd_FieldOfHArray2OfPersistent& _CSFDB_GetPColStd_HArray2OfPersistentData() const { return Data; }



 // 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
 // 


Standard_EXPORT   PColStd_FieldOfHArray2OfPersistent Field() const;


Standard_EXPORT   Standard_Address Datas() const;

 // Fields PRIVATE
 //
Standard_Integer myLowerRow;
Standard_Integer myLowerCol;
Standard_Integer myUpperRow;
Standard_Integer myUpperCol;
PColStd_FieldOfHArray2OfPersistent Data;


};

#define Item Handle_Standard_Persistent
#define Item_hxx <Standard_Persistent.hxx>
#define PCollection_FieldOfHArray2 PColStd_FieldOfHArray2OfPersistent
#define PCollection_FieldOfHArray2_hxx <PColStd_FieldOfHArray2OfPersistent.hxx>
#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfPersistent
#define PCollection_VArrayNodeOfFieldOfHArray2_hxx <PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx>
#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent
#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx <PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent.hxx>
#define PCollection_VArrayNodeOfFieldOfHArray2 PColStd_VArrayNodeOfFieldOfHArray2OfPersistent
#define PCollection_VArrayNodeOfFieldOfHArray2_hxx <PColStd_VArrayNodeOfFieldOfHArray2OfPersistent.hxx>
#define PCollection_VArrayTNodeOfFieldOfHArray2 PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent
#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx <PColStd_VArrayTNodeOfFieldOfHArray2OfPersistent.hxx>
#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent
#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_Type_()
#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColStd_VArrayNodeOfFieldOfHArray2OfPersistent
#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColStd_VArrayNodeOfFieldOfHArray2OfPersistent_Type_()
#define PCollection_HArray2 PColStd_HArray2OfPersistent
#define PCollection_HArray2_hxx <PColStd_HArray2OfPersistent.hxx>
#define Handle_PCollection_HArray2 Handle_PColStd_HArray2OfPersistent
#define PCollection_HArray2_Type_() PColStd_HArray2OfPersistent_Type_()

#include <PCollection_HArray2.lxx>

#undef Item
#undef Item_hxx
#undef PCollection_FieldOfHArray2
#undef PCollection_FieldOfHArray2_hxx
#undef PCollection_VArrayNodeOfFieldOfHArray2
#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx
#undef PCollection_VArrayTNodeOfFieldOfHArray2
#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx
#undef PCollection_VArrayNodeOfFieldOfHArray2
#undef PCollection_VArrayNodeOfFieldOfHArray2_hxx
#undef PCollection_VArrayTNodeOfFieldOfHArray2
#undef PCollection_VArrayTNodeOfFieldOfHArray2_hxx
#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2
#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_
#undef Handle_PCollection_VArrayNodeOfFieldOfHArray2
#undef PCollection_VArrayNodeOfFieldOfHArray2_Type_
#undef PCollection_HArray2
#undef PCollection_HArray2_hxx
#undef Handle_PCollection_HArray2
#undef PCollection_HArray2_Type_


// other Inline functions and methods (like "C++: function call" methods)
//
inline void ShallowDump(const Handle_PColStd_HArray2OfPersistent& me,Standard_OStream& s) {
 me->ShallowDump(s);
}



#endif
