// 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_PDocStd_XLink_HeaderFile
#define _StdLSchema_PDocStd_XLink_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_PDF_Attribute_HeaderFile_
#include <StdLSchema_PDF_Attribute.hxx>
#endif


class Handle_PDocStd_XLink;

class Handle_Standard_Type;
Standard_EXPORT Handle_Standard_Type& StdLSchema_PDocStd_XLink_Type_();
Standard_EXPORT Handle_Standard_Type& PDocStd_XLink_Type_();
class Standard_Transient;
class Handle_Standard_Persistent;
class StdLSchema_PDocStd_XLink;

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

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

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

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

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

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

   ~Handle(StdLSchema_PDocStd_XLink)(){};

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


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

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