// File generated by CPPExt (Transient)
//
//
//                     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 _Storage_HSeqOfPersistent_HeaderFile
#define _Storage_HSeqOfPersistent_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_Storage_HSeqOfPersistent_HeaderFile
#include <Handle_Storage_HSeqOfPersistent.hxx>
#endif

#ifndef _Storage_SeqOfPersistent_HeaderFile
#include <Storage_SeqOfPersistent.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Handle_Standard_Persistent_HeaderFile
#include <Handle_Standard_Persistent.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class Standard_NoSuchObject;
class Standard_OutOfRange;
class Standard_Persistent;
class Storage_SeqOfPersistent;



class Storage_HSeqOfPersistent : public MMgt_TShared {

public:
 // Methods PUBLIC
 // 

Storage_HSeqOfPersistent();

  Standard_Boolean IsEmpty() const;

  Standard_Integer Length() const;


Standard_EXPORT   void Clear() ;


Standard_EXPORT   void Append(const Handle(Standard_Persistent)& anItem) ;


Standard_EXPORT   void Append(const Handle(Storage_HSeqOfPersistent)& aSequence) ;


Standard_EXPORT   void Prepend(const Handle(Standard_Persistent)& anItem) ;


Standard_EXPORT   void Prepend(const Handle(Storage_HSeqOfPersistent)& aSequence) ;


Standard_EXPORT   void Reverse() ;


Standard_EXPORT   void InsertBefore(const Standard_Integer anIndex,const Handle(Standard_Persistent)& anItem) ;


Standard_EXPORT   void InsertBefore(const Standard_Integer anIndex,const Handle(Storage_HSeqOfPersistent)& aSequence) ;


Standard_EXPORT   void InsertAfter(const Standard_Integer anIndex,const Handle(Standard_Persistent)& anItem) ;


Standard_EXPORT   void InsertAfter(const Standard_Integer anIndex,const Handle(Storage_HSeqOfPersistent)& aSequence) ;


Standard_EXPORT   void Exchange(const Standard_Integer anIndex,const Standard_Integer anOtherIndex) ;


Standard_EXPORT   Handle_Storage_HSeqOfPersistent Split(const Standard_Integer anIndex) ;


Standard_EXPORT   void SetValue(const Standard_Integer anIndex,const Handle(Standard_Persistent)& anItem) ;


Standard_EXPORT  const Handle_Standard_Persistent& Value(const Standard_Integer anIndex) const;


Standard_EXPORT   Handle_Standard_Persistent& ChangeValue(const Standard_Integer anIndex) ;


Standard_EXPORT   void Remove(const Standard_Integer anIndex) ;


Standard_EXPORT   void Remove(const Standard_Integer fromIndex,const Standard_Integer toIndex) ;

 const Storage_SeqOfPersistent& Sequence() const;

  Storage_SeqOfPersistent& ChangeSequence() ;


Standard_EXPORT   Handle_Storage_HSeqOfPersistent ShallowCopy() const;
//Standard_EXPORT ~Storage_HSeqOfPersistent();




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


 // Fields PRIVATE
 //
Storage_SeqOfPersistent mySequence;


};

#define Item Handle_Standard_Persistent
#define Item_hxx <Standard_Persistent.hxx>
#define TheSequence Storage_SeqOfPersistent
#define TheSequence_hxx <Storage_SeqOfPersistent.hxx>
#define TCollection_HSequence Storage_HSeqOfPersistent
#define TCollection_HSequence_hxx <Storage_HSeqOfPersistent.hxx>
#define Handle_TCollection_HSequence Handle_Storage_HSeqOfPersistent
#define TCollection_HSequence_Type_() Storage_HSeqOfPersistent_Type_()

#include <TCollection_HSequence.lxx>

#undef Item
#undef Item_hxx
#undef TheSequence
#undef TheSequence_hxx
#undef TCollection_HSequence
#undef TCollection_HSequence_hxx
#undef Handle_TCollection_HSequence
#undef TCollection_HSequence_Type_


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



#endif
