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

#ifndef _Handle_PPoly_HArray1OfTriangle_HeaderFile
#include <Handle_PPoly_HArray1OfTriangle.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _PPoly_Triangle_HeaderFile
#include <PPoly_Triangle.hxx>
#endif
#ifndef _Handle_Standard_Persistent_HeaderFile
#include <Handle_Standard_Persistent.hxx>
#endif
#ifndef _PPoly_FieldOfHArray1OfTriangle_HeaderFile
#include <PPoly_FieldOfHArray1OfTriangle.hxx>
#endif
#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
#ifndef _Standard_Persistent_HeaderFile
#include <Standard_Persistent.hxx>
#endif
#ifndef _Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_HeaderFile
#include <Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx>
#endif
#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
class Standard_Persistent;
class Standard_OutOfRange;
class Standard_RangeError;
class PPoly_Triangle;
class PPoly_FieldOfHArray1OfTriangle;
class PPoly_VArrayNodeOfFieldOfHArray1OfTriangle;
class PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle;


class PPoly_HArray1OfTriangle : public Standard_Persistent {

public:

 // Methods PUBLIC
 // 


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


Standard_EXPORT PPoly_HArray1OfTriangle(const Standard_Integer Low,const Standard_Integer Up,const PPoly_Triangle& V);

  Standard_Integer Length() const;

  Standard_Integer Lower() const;


Standard_EXPORT   void SetValue(const Standard_Integer Index,const PPoly_Triangle& Value) ;

  Standard_Integer Upper() const;


Standard_EXPORT   PPoly_Triangle Value(const Standard_Integer Index) const;


Standard_EXPORT virtual  Handle_Standard_Persistent ShallowCopy() const;


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

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

    Standard_Integer _CSFDB_GetPPoly_HArray1OfTriangleLowerBound() const { return LowerBound; }
    void _CSFDB_SetPPoly_HArray1OfTriangleLowerBound(const Standard_Integer p) { LowerBound = p; }
    Standard_Integer _CSFDB_GetPPoly_HArray1OfTriangleUpperBound() const { return UpperBound; }
    void _CSFDB_SetPPoly_HArray1OfTriangleUpperBound(const Standard_Integer p) { UpperBound = p; }
    const PPoly_FieldOfHArray1OfTriangle& _CSFDB_GetPPoly_HArray1OfTriangleData() 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   PPoly_FieldOfHArray1OfTriangle Field() const;


Standard_EXPORT   Standard_Address Datas() const;

 // Fields PRIVATE
 //
Standard_Integer LowerBound;
Standard_Integer UpperBound;
PPoly_FieldOfHArray1OfTriangle Data;


};

#define Item PPoly_Triangle
#define Item_hxx <PPoly_Triangle.hxx>
#define PCollection_FieldOfHArray1 PPoly_FieldOfHArray1OfTriangle
#define PCollection_FieldOfHArray1_hxx <PPoly_FieldOfHArray1OfTriangle.hxx>
#define PCollection_VArrayNodeOfFieldOfHArray1 PPoly_VArrayNodeOfFieldOfHArray1OfTriangle
#define PCollection_VArrayNodeOfFieldOfHArray1_hxx <PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx>
#define PCollection_VArrayTNodeOfFieldOfHArray1 PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle
#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx <PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle.hxx>
#define PCollection_VArrayNodeOfFieldOfHArray1 PPoly_VArrayNodeOfFieldOfHArray1OfTriangle
#define PCollection_VArrayNodeOfFieldOfHArray1_hxx <PPoly_VArrayNodeOfFieldOfHArray1OfTriangle.hxx>
#define PCollection_VArrayTNodeOfFieldOfHArray1 PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle
#define PCollection_VArrayTNodeOfFieldOfHArray1_hxx <PPoly_VArrayTNodeOfFieldOfHArray1OfTriangle.hxx>
#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle
#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_Type_()
#define Handle_PCollection_VArrayNodeOfFieldOfHArray1 Handle_PPoly_VArrayNodeOfFieldOfHArray1OfTriangle
#define PCollection_VArrayNodeOfFieldOfHArray1_Type_() PPoly_VArrayNodeOfFieldOfHArray1OfTriangle_Type_()
#define PCollection_HArray1 PPoly_HArray1OfTriangle
#define PCollection_HArray1_hxx <PPoly_HArray1OfTriangle.hxx>
#define Handle_PCollection_HArray1 Handle_PPoly_HArray1OfTriangle
#define PCollection_HArray1_Type_() PPoly_HArray1OfTriangle_Type_()

#include <PCollection_HArray1.lxx>

#undef Item
#undef Item_hxx
#undef PCollection_FieldOfHArray1
#undef PCollection_FieldOfHArray1_hxx
#undef PCollection_VArrayNodeOfFieldOfHArray1
#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx
#undef PCollection_VArrayTNodeOfFieldOfHArray1
#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx
#undef PCollection_VArrayNodeOfFieldOfHArray1
#undef PCollection_VArrayNodeOfFieldOfHArray1_hxx
#undef PCollection_VArrayTNodeOfFieldOfHArray1
#undef PCollection_VArrayTNodeOfFieldOfHArray1_hxx
#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1
#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_
#undef Handle_PCollection_VArrayNodeOfFieldOfHArray1
#undef PCollection_VArrayNodeOfFieldOfHArray1_Type_
#undef PCollection_HArray1
#undef PCollection_HArray1_hxx
#undef Handle_PCollection_HArray1
#undef PCollection_HArray1_Type_


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



#endif
