-- Created by: DAUTRY Philippe -- Copyright (c) 1997-1999 Matra Datavision -- Copyright (c) 1999-2014 OPEN CASCADE SAS -- -- This file is part of Open CASCADE Technology software library. -- -- This library is free software; you can redistribute it and/or modify it under -- the terms of the GNU Lesser General Public License version 2.1 as published -- by the Free Software Foundation, with special exception defined in the file -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT -- distribution for complete text of the license and disclaimer of any warranty. -- -- Alternatively, this file may be used under the terms of Open CASCADE -- commercial license or contractual agreement. -- --------------- ---Version: 0.0 --Version Date Purpose -- 0.0 Oct 3 1997 Creation class Browser from DDF inherits Drawable3D from Draw ---Purpose: Browses a data framework from TDF. uses Data from TDF, Label from TDF, AttributeIndexedMap from TDF, Interpretor from Draw, Display from Draw, AsciiString from TCollection -- raises is Create (aDF : Data from TDF) returns Browser from DDF; DrawOn (me; dis : in out Display); Copy (me) returns Drawable3D from Draw is redefined; Dump (me; S : in out OStream) is redefined; Whatis (me; I : in out Interpretor from Draw) is redefined; -- Specific methods ------------------------------------------------------- Data (me : mutable; aDF : Data from TDF); Data (me) returns Data from TDF; OpenRoot(me) returns AsciiString from TCollection; ---Purpose: Returns a string composed with the sub-label -- entries of . OpenLabel(me; aLab : Label from TDF) returns AsciiString from TCollection; ---Purpose: Returns a string composed with the sub-label -- entries of . OpenAttributeList(me : mutable; aLab : Label from TDF) returns AsciiString from TCollection; ---Purpose: Returns a string composed with the attribute index -- (found in ) of . OpenAttribute(me : mutable; anIndex : Integer from Standard = 0) returns AsciiString from TCollection; ---Purpose: Returns a string composed with the list of -- referenced attribute index of the attribute -- . For exemple, it is usefull for -- TDataStd_Group. It uses a mecanism based on a -- DDF_AttributeBrowser. Information(me) returns AsciiString from TCollection; ---Purpose: Returns information about to be displayed in -- information window. Information(me; aLab : Label from TDF) returns AsciiString from TCollection; ---Purpose: Returns information about to be displayed -- in information window. Information(me; anIndex : Integer from Standard = 0) returns AsciiString from TCollection; ---Purpose: Returns information about attribute to -- be displayed in information window. fields myDF : Data from TDF; myAttMap : AttributeIndexedMap from TDF; end Browser;