// 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 _StdLSchema_PTopLoc_Datum3D_HeaderFile
#define _StdLSchema_PTopLoc_Datum3D_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 _StdLSchema_Standard_Persistent_HeaderFile_
#include <StdLSchema_Standard_Persistent.hxx>
#endif


class Handle_PTopLoc_Datum3D;

class Handle_Standard_Type;
Standard_EXPORT Handle_Standard_Type& StdLSchema_PTopLoc_Datum3D_Type_();
Standard_EXPORT Handle_Standard_Type& PTopLoc_Datum3D_Type_();
class Standard_Transient;
class Handle_Standard_Persistent;
class StdLSchema_PTopLoc_Datum3D;

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

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

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

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

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

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

   ~Handle(StdLSchema_PTopLoc_Datum3D)(){};

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


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

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