// 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_HSequenceOfInteger_HeaderFile
#define _PColStd_HSequenceOfInteger_HeaderFile

#ifndef _Handle_PColStd_HSequenceOfInteger_HeaderFile
#include <Handle_PColStd_HSequenceOfInteger.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif

#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_PColStd_HSequenceOfInteger_HeaderFile
#include <Handle_PColStd_HSequenceOfInteger.hxx>
#endif
#ifndef _Handle_PColStd_SeqNodeOfHSequenceOfInteger_HeaderFile
#include <Handle_PColStd_SeqNodeOfHSequenceOfInteger.hxx>
#endif
#ifndef _Handle_Standard_Persistent_HeaderFile
#include <Handle_Standard_Persistent.hxx>
#endif
#ifndef _Standard_Persistent_HeaderFile
#include <Standard_Persistent.hxx>
#endif
#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
class PColStd_SeqNodeOfHSequenceOfInteger;
class Standard_Persistent;
class Standard_NoSuchObject;
class Standard_OutOfRange;
class PColStd_SeqExplorerOfHSequenceOfInteger;


class PColStd_HSequenceOfInteger : public Standard_Persistent {

public:

 // Methods PUBLIC
 // 


Standard_EXPORT PColStd_HSequenceOfInteger();


Standard_EXPORT   Standard_Boolean IsEmpty() const;


Standard_EXPORT   Standard_Integer Length() const;


Standard_EXPORT   Standard_Integer First() const;


Standard_EXPORT   Standard_Integer Last() const;


Standard_EXPORT   void Clear() ;


Standard_EXPORT   void Append(const Standard_Integer& T) ;


Standard_EXPORT   void Append(const Handle(PColStd_HSequenceOfInteger)& S) ;


Standard_EXPORT   void Prepend(const Standard_Integer& T) ;


Standard_EXPORT   void Prepend(const Handle(PColStd_HSequenceOfInteger)& S) ;


Standard_EXPORT   void Reverse() ;


Standard_EXPORT   void InsertBefore(const Standard_Integer Index,const Standard_Integer& T) ;


Standard_EXPORT   void InsertBefore(const Standard_Integer Index,const Handle(PColStd_HSequenceOfInteger)& S) ;


Standard_EXPORT   void InsertAfter(const Standard_Integer Index,const Standard_Integer& T) ;


Standard_EXPORT   void InsertAfter(const Standard_Integer Index,const Handle(PColStd_HSequenceOfInteger)& S) ;


Standard_EXPORT   void Exchange(const Standard_Integer I,const Standard_Integer J) ;


Standard_EXPORT   Handle_PColStd_HSequenceOfInteger SubSequence(const Standard_Integer FromIndex,const Standard_Integer ToIndex) const;


Standard_EXPORT   Handle_PColStd_HSequenceOfInteger Split(const Standard_Integer Index) ;


Standard_EXPORT   void SetValue(const Standard_Integer Index,const Standard_Integer& T) ;


Standard_EXPORT   Standard_Integer Value(const Standard_Integer Index) const;


Standard_EXPORT   Standard_Boolean Contains(const Standard_Integer& T) const;


Standard_EXPORT   Standard_Integer Location(const Standard_Integer N,const Standard_Integer& T,const Standard_Integer FromIndex,const Standard_Integer ToIndex) const;


Standard_EXPORT   Standard_Integer Location(const Standard_Integer N,const Standard_Integer& T) const;


Standard_EXPORT   void Remove(const Standard_Integer Index) ;


Standard_EXPORT   void Remove(const Standard_Integer FromIndex,const Standard_Integer ToIndex) ;


Standard_EXPORT virtual  Handle_Standard_Persistent ShallowCopy() const;


Standard_EXPORT virtual  void ShallowDump(Standard_OStream& s) const;


Standard_EXPORT   void Destroy() ;
~PColStd_HSequenceOfInteger()
{
  Destroy();
}

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

    Handle(PColStd_SeqNodeOfHSequenceOfInteger) _CSFDB_GetPColStd_HSequenceOfIntegerFirstItem() const { return FirstItem; }
    void _CSFDB_SetPColStd_HSequenceOfIntegerFirstItem(const Handle(PColStd_SeqNodeOfHSequenceOfInteger)& p) { FirstItem = p; }
    Handle(PColStd_SeqNodeOfHSequenceOfInteger) _CSFDB_GetPColStd_HSequenceOfIntegerLastItem() const { return LastItem; }
    void _CSFDB_SetPColStd_HSequenceOfIntegerLastItem(const Handle(PColStd_SeqNodeOfHSequenceOfInteger)& p) { LastItem = p; }
    Standard_Integer _CSFDB_GetPColStd_HSequenceOfIntegerSize() const { return Size; }
    void _CSFDB_SetPColStd_HSequenceOfIntegerSize(const Standard_Integer p) { Size = p; }

friend class PColStd_SeqExplorerOfHSequenceOfInteger;


 // 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   Handle_PColStd_SeqNodeOfHSequenceOfInteger GetFirst() const;


Standard_EXPORT   Handle_PColStd_SeqNodeOfHSequenceOfInteger GetLast() const;

 // Fields PRIVATE
 //
Handle_PColStd_SeqNodeOfHSequenceOfInteger FirstItem;
Handle_PColStd_SeqNodeOfHSequenceOfInteger LastItem;
Standard_Integer Size;


};





// other Inline functions and methods (like "C++: function call" methods)
//
inline Handle_Standard_Persistent ShallowCopy(const Handle_PColStd_HSequenceOfInteger& me) {
 return me->ShallowCopy();
}

inline void ShallowDump(const Handle_PColStd_HSequenceOfInteger& me,Standard_OStream& s) {
 me->ShallowDump(s);
}



#endif
