// 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_HSequenceOfDir_HeaderFile
#define _PColgp_HSequenceOfDir_HeaderFile

#ifndef _Handle_PColgp_HSequenceOfDir_HeaderFile
#include <Handle_PColgp_HSequenceOfDir.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 _gp_Dir_HeaderFile
#include <gp_Dir.hxx>
#endif
#ifndef _Handle_PColgp_HSequenceOfDir_HeaderFile
#include <Handle_PColgp_HSequenceOfDir.hxx>
#endif
#ifndef _Handle_PColgp_SeqNodeOfHSequenceOfDir_HeaderFile
#include <Handle_PColgp_SeqNodeOfHSequenceOfDir.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 PColgp_SeqNodeOfHSequenceOfDir;
class Standard_Persistent;
class Standard_NoSuchObject;
class Standard_OutOfRange;
class PColgp_SeqExplorerOfHSequenceOfDir;
class gp_Dir;


class PColgp_HSequenceOfDir : public Standard_Persistent {

public:

 // Methods PUBLIC
 // 


Standard_EXPORT PColgp_HSequenceOfDir();


Standard_EXPORT   Standard_Boolean IsEmpty() const;


Standard_EXPORT   Standard_Integer Length() const;


Standard_EXPORT   gp_Dir First() const;


Standard_EXPORT   gp_Dir Last() const;


Standard_EXPORT   void Clear() ;


Standard_EXPORT   void Append(const gp_Dir& T) ;


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


Standard_EXPORT   void Prepend(const gp_Dir& T) ;


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


Standard_EXPORT   void Reverse() ;


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


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


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


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


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


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


Standard_EXPORT   Handle_PColgp_HSequenceOfDir Split(const Standard_Integer Index) ;


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


Standard_EXPORT   gp_Dir Value(const Standard_Integer Index) const;


Standard_EXPORT   Standard_Boolean Contains(const gp_Dir& T) const;


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


Standard_EXPORT   Standard_Integer Location(const Standard_Integer N,const gp_Dir& 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() ;
~PColgp_HSequenceOfDir()
{
  Destroy();
}

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

    Handle(PColgp_SeqNodeOfHSequenceOfDir) _CSFDB_GetPColgp_HSequenceOfDirFirstItem() const { return FirstItem; }
    void _CSFDB_SetPColgp_HSequenceOfDirFirstItem(const Handle(PColgp_SeqNodeOfHSequenceOfDir)& p) { FirstItem = p; }
    Handle(PColgp_SeqNodeOfHSequenceOfDir) _CSFDB_GetPColgp_HSequenceOfDirLastItem() const { return LastItem; }
    void _CSFDB_SetPColgp_HSequenceOfDirLastItem(const Handle(PColgp_SeqNodeOfHSequenceOfDir)& p) { LastItem = p; }
    Standard_Integer _CSFDB_GetPColgp_HSequenceOfDirSize() const { return Size; }
    void _CSFDB_SetPColgp_HSequenceOfDirSize(const Standard_Integer p) { Size = p; }

friend class PColgp_SeqExplorerOfHSequenceOfDir;


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


Standard_EXPORT   Handle_PColgp_SeqNodeOfHSequenceOfDir GetLast() const;

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


};





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

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



#endif
