// 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_PGeom_Geometry_HeaderFile
#define _ShapeSchema_PGeom_Geometry_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_PGeom_Geometry;

class Handle_Standard_Type;
Standard_EXPORT Handle_Standard_Type& ShapeSchema_PGeom_Geometry_Type_();
Standard_EXPORT Handle_Standard_Type& PGeom_Geometry_Type_();
class Standard_Transient;
class Handle_Standard_Persistent;
class ShapeSchema_PGeom_Geometry;

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

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

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

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

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

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

   ~Handle(ShapeSchema_PGeom_Geometry)(){};

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


class ShapeSchema_PGeom_Geometry : public Storage_CallBack {
  public:
   ShapeSchema_PGeom_Geometry() {};
   Standard_EXPORT static void SAdd(const Handle(PGeom_Geometry)& ,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_PGeom_Geometry() {};

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