// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _TDocStd_Owner_HeaderFile
#define _TDocStd_Owner_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_TDocStd_Owner.hxx>

#include <Handle_TDocStd_Document.hxx>
#include <TDF_Attribute.hxx>
#include <Handle_TDF_Data.hxx>
#include <Handle_TDF_Attribute.hxx>
#include <Handle_TDF_RelocationTable.hxx>
#include <Standard_OStream.hxx>
class TDocStd_Document;
class Standard_GUID;
class TDF_Data;
class TDF_Attribute;
class TDF_RelocationTable;


//! This  attribute located  at  the  root label  of the
//! framework contains  a   back reference to   the  owner
//! TDocStd_Document, providing acces to the document from
//! any label.  private class Owner;
class TDocStd_Owner : public TDF_Attribute
{

public:

  
  //! class methods
  //! =============
  Standard_EXPORT static  const  Standard_GUID& GetID() ;
  
  Standard_EXPORT static   void SetDocument (const Handle(TDF_Data)& indata, const Handle(TDocStd_Document)& doc) ;
  
  //! Owner methods
  //! ===============
  Standard_EXPORT static   Handle(TDocStd_Document) GetDocument (const Handle(TDF_Data)& ofdata) ;
  
  Standard_EXPORT TDocStd_Owner();
  
  Standard_EXPORT   void SetDocument (const Handle(TDocStd_Document)& document) ;
  
  Standard_EXPORT   Handle(TDocStd_Document) GetDocument()  const;
  
  Standard_EXPORT  const  Standard_GUID& ID()  const;
  
  Standard_EXPORT   void Restore (const Handle(TDF_Attribute)& With) ;
  
  Standard_EXPORT   Handle(TDF_Attribute) NewEmpty()  const;
  
  Standard_EXPORT   void Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT)  const;
  
  Standard_EXPORT virtual   Standard_OStream& Dump (Standard_OStream& anOS)  const;




  DEFINE_STANDARD_RTTI(TDocStd_Owner)

protected:




private: 


  Handle(TDocStd_Document) myDocument;


};







#endif // _TDocStd_Owner_HeaderFile
