// 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 _DDF_Browser_HeaderFile
#define _DDF_Browser_HeaderFile

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

#include <Handle_TDF_Data.hxx>
#include <TDF_AttributeIndexedMap.hxx>
#include <Draw_Drawable3D.hxx>
#include <Handle_Draw_Drawable3D.hxx>
#include <Standard_OStream.hxx>
#include <Draw_Interpretor.hxx>
#include <Standard_Integer.hxx>
class TDF_Data;
class Draw_Display;
class Draw_Drawable3D;
class TCollection_AsciiString;
class TDF_Label;


//! Browses a data framework from TDF.
class DDF_Browser : public Draw_Drawable3D
{

public:

  
  Standard_EXPORT DDF_Browser(const Handle(TDF_Data)& aDF);
  
  Standard_EXPORT   void DrawOn (Draw_Display& dis)  const;
  
  Standard_EXPORT virtual   Handle(Draw_Drawable3D) Copy()  const;
  
  Standard_EXPORT virtual   void Dump (Standard_OStream& S)  const;
  
  Standard_EXPORT virtual   void Whatis (Draw_Interpretor& I)  const;
  
  Standard_EXPORT   void Data (const Handle(TDF_Data)& aDF) ;
  
  Standard_EXPORT   Handle(TDF_Data) Data()  const;
  
  //! Returns a string composed with the sub-label
  //! entries of <myDF>.
  Standard_EXPORT   TCollection_AsciiString OpenRoot()  const;
  
  //! Returns a string composed with the sub-label
  //! entries of <aLab>.
  Standard_EXPORT   TCollection_AsciiString OpenLabel (const TDF_Label& aLab)  const;
  
  //! Returns a string composed with the attribute index
  //! (found in <myAttMap>) of <aLab>.
  Standard_EXPORT   TCollection_AsciiString OpenAttributeList (const TDF_Label& aLab) ;
  
  //! Returns a string composed with the list of
  //! referenced attribute index of the attribute
  //! <anIndex>. For exemple, it is usefull for
  //! TDataStd_Group. It uses a mecanism based on a
  //! DDF_AttributeBrowser.
  Standard_EXPORT   TCollection_AsciiString OpenAttribute (const Standard_Integer anIndex = 0) ;
  
  //! Returns information about <me> to be displayed in
  //! information window.
  Standard_EXPORT   TCollection_AsciiString Information()  const;
  
  //! Returns information about <aLab> to be displayed
  //! in information window.
  Standard_EXPORT   TCollection_AsciiString Information (const TDF_Label& aLab)  const;
  
  //! Returns information about attribute <anIndex> to
  //! be displayed in information window.
  Standard_EXPORT   TCollection_AsciiString Information (const Standard_Integer anIndex = 0)  const;




  DEFINE_STANDARD_RTTI(DDF_Browser)

protected:




private: 


  Handle(TDF_Data) myDF;
  TDF_AttributeIndexedMap myAttMap;


};







#endif // _DDF_Browser_HeaderFile
