// File generated by Schema (CallBack)
//
//                     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 _ShapeSchema_ObjMgt_PSeqOfExtRef_HeaderFile
#define _ShapeSchema_ObjMgt_PSeqOfExtRef_HeaderFile

#ifndef _Storage_Schema_HeaderFile
#include <Storage_Schema.hxx>
#endif
#ifndef _Storage_CallBack_HeaderFile_
#include <Storage_CallBack.hxx>
#endif
#ifndef _Storage_BaseDriver_HeaderFile_
#include <Storage_BaseDriver.hxx>
#endif

#ifndef _ShapeSchema_Standard_Persistent_HeaderFile_
#include <ShapeSchema_Standard_Persistent.hxx>
#endif


class Handle_ObjMgt_PSeqOfExtRef;

class Handle_Standard_Type;
Standard_EXPORT Handle_Standard_Type& ShapeSchema_ObjMgt_PSeqOfExtRef_Type_();
Standard_EXPORT Handle_Standard_Type& ObjMgt_PSeqOfExtRef_Type_();
class Standard_Transient;
class Handle_Standard_Persistent;
class ShapeSchema_ObjMgt_PSeqOfExtRef;

class Handle(ShapeSchema_ObjMgt_PSeqOfExtRef) : public Handle(Storage_CallBack) {
  public:
    Handle(ShapeSchema_ObjMgt_PSeqOfExtRef)() : Handle(Storage_CallBack)() {} 
    Handle(ShapeSchema_ObjMgt_PSeqOfExtRef)(const Handle(ShapeSchema_ObjMgt_PSeqOfExtRef)& aHandle) : Handle(Storage_CallBack)(aHandle) 
     {
     }

    Handle(ShapeSchema_ObjMgt_PSeqOfExtRef)(const ShapeSchema_ObjMgt_PSeqOfExtRef* anItem) : Handle(Storage_CallBack)((Storage_CallBack *)anItem) 
     {
     }

    Handle(ShapeSchema_ObjMgt_PSeqOfExtRef)& operator=(const Handle(ShapeSchema_ObjMgt_PSeqOfExtRef)& aHandle)
     {
      Assign(aHandle.Access());
      return *this;
     }

    Handle(ShapeSchema_ObjMgt_PSeqOfExtRef)& operator=(const ShapeSchema_ObjMgt_PSeqOfExtRef* anItem)
     {
      Assign((Standard_Transient *)anItem);
      return *this;
     }

    ShapeSchema_ObjMgt_PSeqOfExtRef* operator->() 
     {
      return (ShapeSchema_ObjMgt_PSeqOfExtRef *)ControlAccess();
     }

    ShapeSchema_ObjMgt_PSeqOfExtRef* operator->() const 
     {
      return (ShapeSchema_ObjMgt_PSeqOfExtRef *)ControlAccess();
     }

   ~Handle(ShapeSchema_ObjMgt_PSeqOfExtRef)(){};

   Standard_EXPORT static const Handle(ShapeSchema_ObjMgt_PSeqOfExtRef) DownCast(const Handle(Storage_CallBack)&);
};


class ShapeSchema_ObjMgt_PSeqOfExtRef : public Storage_CallBack {
  public:
   ShapeSchema_ObjMgt_PSeqOfExtRef() {};
   Standard_EXPORT static void SAdd(const Handle(ObjMgt_PSeqOfExtRef)& ,const Handle(Storage_Schema)&);
   Standard_EXPORT static void SWrite(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&);
   Standard_EXPORT static void SRead(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&);

   Standard_EXPORT Handle_Standard_Persistent New() const;
   Standard_EXPORT void Add(const Handle(Standard_Persistent)&,const Handle(Storage_Schema)&) const;
   Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const;
   Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const;
   ~ShapeSchema_ObjMgt_PSeqOfExtRef() {};

   Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const; 
   Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
};
#endif
