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

#ifndef _Handle_PShort_HArray2OfShortReal_HeaderFile
#include <Handle_PShort_HArray2OfShortReal.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_ShortReal_HeaderFile
#include <Standard_ShortReal.hxx>
#endif
#ifndef _Handle_Standard_Persistent_HeaderFile
#include <Handle_Standard_Persistent.hxx>
#endif
#ifndef _PShort_FieldOfHArray2OfShortReal_HeaderFile
#include <PShort_FieldOfHArray2OfShortReal.hxx>
#endif
#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
#ifndef _Standard_Persistent_HeaderFile
#include <Standard_Persistent.hxx>
#endif
#ifndef _Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal_HeaderFile
#include <Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx>
#endif
#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
class Standard_Persistent;
class Standard_RangeError;
class Standard_OutOfRange;
class PShort_FieldOfHArray2OfShortReal;
class PShort_VArrayNodeOfFieldOfHArray2OfShortReal;
class PShort_VArrayTNodeOfFieldOfHArray2OfShortReal;


class PShort_HArray2OfShortReal : public Standard_Persistent {

public:

 // Methods PUBLIC
 // 


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


Standard_EXPORT PShort_HArray2OfShortReal(const Standard_Integer R1,const Standard_Integer R2,const Standard_Integer C1,const Standard_Integer C2,const Standard_ShortReal& 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 Standard_ShortReal& Value) ;

  Standard_Integer UpperCol() const;

  Standard_Integer UpperRow() const;


Standard_EXPORT   Standard_ShortReal 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 ~PShort_HArray2OfShortReal();
PShort_HArray2OfShortReal( )
{
  
}

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

    Standard_Integer _CSFDB_GetPShort_HArray2OfShortRealmyLowerRow() const { return myLowerRow; }
    void _CSFDB_SetPShort_HArray2OfShortRealmyLowerRow(const Standard_Integer p) { myLowerRow = p; }
    Standard_Integer _CSFDB_GetPShort_HArray2OfShortRealmyLowerCol() const { return myLowerCol; }
    void _CSFDB_SetPShort_HArray2OfShortRealmyLowerCol(const Standard_Integer p) { myLowerCol = p; }
    Standard_Integer _CSFDB_GetPShort_HArray2OfShortRealmyUpperRow() const { return myUpperRow; }
    void _CSFDB_SetPShort_HArray2OfShortRealmyUpperRow(const Standard_Integer p) { myUpperRow = p; }
    Standard_Integer _CSFDB_GetPShort_HArray2OfShortRealmyUpperCol() const { return myUpperCol; }
    void _CSFDB_SetPShort_HArray2OfShortRealmyUpperCol(const Standard_Integer p) { myUpperCol = p; }
    const PShort_FieldOfHArray2OfShortReal& _CSFDB_GetPShort_HArray2OfShortRealData() 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   PShort_FieldOfHArray2OfShortReal Field() const;


Standard_EXPORT   Standard_Address Datas() const;

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


};

#define Item Standard_ShortReal
#define Item_hxx <Standard_ShortReal.hxx>
#define PCollection_FieldOfHArray2 PShort_FieldOfHArray2OfShortReal
#define PCollection_FieldOfHArray2_hxx <PShort_FieldOfHArray2OfShortReal.hxx>
#define PCollection_VArrayNodeOfFieldOfHArray2 PShort_VArrayNodeOfFieldOfHArray2OfShortReal
#define PCollection_VArrayNodeOfFieldOfHArray2_hxx <PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx>
#define PCollection_VArrayTNodeOfFieldOfHArray2 PShort_VArrayTNodeOfFieldOfHArray2OfShortReal
#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx <PShort_VArrayTNodeOfFieldOfHArray2OfShortReal.hxx>
#define PCollection_VArrayNodeOfFieldOfHArray2 PShort_VArrayNodeOfFieldOfHArray2OfShortReal
#define PCollection_VArrayNodeOfFieldOfHArray2_hxx <PShort_VArrayNodeOfFieldOfHArray2OfShortReal.hxx>
#define PCollection_VArrayTNodeOfFieldOfHArray2 PShort_VArrayTNodeOfFieldOfHArray2OfShortReal
#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx <PShort_VArrayTNodeOfFieldOfHArray2OfShortReal.hxx>
#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal
#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PShort_VArrayNodeOfFieldOfHArray2OfShortReal_Type_()
#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PShort_VArrayNodeOfFieldOfHArray2OfShortReal
#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PShort_VArrayNodeOfFieldOfHArray2OfShortReal_Type_()
#define PCollection_HArray2 PShort_HArray2OfShortReal
#define PCollection_HArray2_hxx <PShort_HArray2OfShortReal.hxx>
#define Handle_PCollection_HArray2 Handle_PShort_HArray2OfShortReal
#define PCollection_HArray2_Type_() PShort_HArray2OfShortReal_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_PShort_HArray2OfShortReal& me,Standard_OStream& s) {
 me->ShallowDump(s);
}



#endif
