Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:23

0001 // Created by: DAUTRY Philippe
0002 // Copyright (c) 1997-1999 Matra Datavision
0003 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 //          ------------------------
0017 
0018 // Version: 0.0
0019 //Version   Date        Purpose
0020 //      0.0 Oct  6 1997 Creation
0021 
0022 
0023 
0024 #ifndef DDF_AttributeBrowser_HeaderFile
0025 #define DDF_AttributeBrowser_HeaderFile
0026 
0027 #include <TCollection_AsciiString.hxx>
0028 #include <TDF_Attribute.hxx>
0029 
0030 class DDF_AttributeBrowser {
0031 
0032   public :
0033 
0034     Standard_EXPORT DDF_AttributeBrowser 
0035       (Standard_Boolean (*test)(const Handle(TDF_Attribute)&),
0036        TCollection_AsciiString (*open) (const Handle(TDF_Attribute)&),
0037        TCollection_AsciiString (*text) (const Handle(TDF_Attribute)&)
0038        );
0039 
0040 
0041   Standard_Boolean Test
0042     (const Handle(TDF_Attribute)&anAtt) const;
0043   TCollection_AsciiString Open
0044     (const Handle(TDF_Attribute)&anAtt) const;
0045   TCollection_AsciiString Text
0046     (const Handle(TDF_Attribute)&anAtt) const;
0047   inline DDF_AttributeBrowser* Next() {return myNext;}
0048 
0049   static DDF_AttributeBrowser* FindBrowser
0050     (const Handle(TDF_Attribute)&anAtt);
0051 
0052   private :
0053     
0054   Standard_Boolean (*myTest)
0055      (const Handle(TDF_Attribute)&);
0056 
0057      TCollection_AsciiString (*myOpen)
0058      (const Handle(TDF_Attribute)&);
0059 
0060      TCollection_AsciiString (*myText)
0061      (const Handle(TDF_Attribute)&);
0062 
0063      DDF_AttributeBrowser* myNext;
0064     
0065 };
0066 
0067 #endif