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

#ifndef _Handle_PColgp_HArray2OfVec2d_HeaderFile
#include <Handle_PColgp_HArray2OfVec2d.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _gp_Vec2d_HeaderFile
#include <gp_Vec2d.hxx>
#endif
#ifndef _Handle_Standard_Persistent_HeaderFile
#include <Handle_Standard_Persistent.hxx>
#endif
#ifndef _PColgp_FieldOfHArray2OfVec2d_HeaderFile
#include <PColgp_FieldOfHArray2OfVec2d.hxx>
#endif
#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
#ifndef _Standard_Persistent_HeaderFile
#include <Standard_Persistent.hxx>
#endif
#ifndef _Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_HeaderFile
#include <Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx>
#endif
#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
class Standard_Persistent;
class Standard_RangeError;
class Standard_OutOfRange;
class gp_Vec2d;
class PColgp_FieldOfHArray2OfVec2d;
class PColgp_VArrayNodeOfFieldOfHArray2OfVec2d;
class PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d;


class PColgp_HArray2OfVec2d : public Standard_Persistent {

public:

 // Methods PUBLIC
 // 


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


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

  Standard_Integer UpperCol() const;

  Standard_Integer UpperRow() const;


Standard_EXPORT   gp_Vec2d 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 ~PColgp_HArray2OfVec2d();
PColgp_HArray2OfVec2d( )
{
  
}

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

    Standard_Integer _CSFDB_GetPColgp_HArray2OfVec2dmyLowerRow() const { return myLowerRow; }
    void _CSFDB_SetPColgp_HArray2OfVec2dmyLowerRow(const Standard_Integer p) { myLowerRow = p; }
    Standard_Integer _CSFDB_GetPColgp_HArray2OfVec2dmyLowerCol() const { return myLowerCol; }
    void _CSFDB_SetPColgp_HArray2OfVec2dmyLowerCol(const Standard_Integer p) { myLowerCol = p; }
    Standard_Integer _CSFDB_GetPColgp_HArray2OfVec2dmyUpperRow() const { return myUpperRow; }
    void _CSFDB_SetPColgp_HArray2OfVec2dmyUpperRow(const Standard_Integer p) { myUpperRow = p; }
    Standard_Integer _CSFDB_GetPColgp_HArray2OfVec2dmyUpperCol() const { return myUpperCol; }
    void _CSFDB_SetPColgp_HArray2OfVec2dmyUpperCol(const Standard_Integer p) { myUpperCol = p; }
    const PColgp_FieldOfHArray2OfVec2d& _CSFDB_GetPColgp_HArray2OfVec2dData() 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   PColgp_FieldOfHArray2OfVec2d Field() const;


Standard_EXPORT   Standard_Address Datas() const;

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


};

#define Item gp_Vec2d
#define Item_hxx <gp_Vec2d.hxx>
#define PCollection_FieldOfHArray2 PColgp_FieldOfHArray2OfVec2d
#define PCollection_FieldOfHArray2_hxx <PColgp_FieldOfHArray2OfVec2d.hxx>
#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfVec2d
#define PCollection_VArrayNodeOfFieldOfHArray2_hxx <PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx>
#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d
#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx <PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d.hxx>
#define PCollection_VArrayNodeOfFieldOfHArray2 PColgp_VArrayNodeOfFieldOfHArray2OfVec2d
#define PCollection_VArrayNodeOfFieldOfHArray2_hxx <PColgp_VArrayNodeOfFieldOfHArray2OfVec2d.hxx>
#define PCollection_VArrayTNodeOfFieldOfHArray2 PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d
#define PCollection_VArrayTNodeOfFieldOfHArray2_hxx <PColgp_VArrayTNodeOfFieldOfHArray2OfVec2d.hxx>
#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d
#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_Type_()
#define Handle_PCollection_VArrayNodeOfFieldOfHArray2 Handle_PColgp_VArrayNodeOfFieldOfHArray2OfVec2d
#define PCollection_VArrayNodeOfFieldOfHArray2_Type_() PColgp_VArrayNodeOfFieldOfHArray2OfVec2d_Type_()
#define PCollection_HArray2 PColgp_HArray2OfVec2d
#define PCollection_HArray2_hxx <PColgp_HArray2OfVec2d.hxx>
#define Handle_PCollection_HArray2 Handle_PColgp_HArray2OfVec2d
#define PCollection_HArray2_Type_() PColgp_HArray2OfVec2d_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_PColgp_HArray2OfVec2d& me,Standard_OStream& s) {
 me->ShallowDump(s);
}



#endif
