Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:20

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 #ifndef _TDF_HeaderFile
0017 #define _TDF_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022 
0023 #include <Standard_Boolean.hxx>
0024 class Standard_GUID;
0025 class TCollection_ExtendedString;
0026 
0027 
0028 //! This package provides data framework for binding
0029 //! features and data structures.
0030 //!
0031 //! The feature structure is a tree used to bind
0032 //! semantic information about each feature together.
0033 //!
0034 //! The only one concrete   attribute defined in  this
0035 //! package is the TagSource attribute.This attribute
0036 //! is used for  random creation of child labels under
0037 //! a given label. Tags are randomly delivered.
0038 class TDF 
0039 {
0040 public:
0041 
0042   DEFINE_STANDARD_ALLOC
0043 
0044   
0045   //! Returns ID "00000000-0000-0000-0000-000000000000",
0046   //! sometimes used as null ID.
0047   Standard_EXPORT static const Standard_GUID& LowestID();
0048   
0049   //! Returns ID "ffffffff-ffff-ffff-ffff-ffffffffffff".
0050   Standard_EXPORT static const Standard_GUID& UppestID();
0051   
0052   //! Sets link between GUID and ProgID in hidden DataMap
0053   Standard_EXPORT static void AddLinkGUIDToProgID (const Standard_GUID& ID, const TCollection_ExtendedString& ProgID);
0054   
0055   //! Returns True if there is GUID for given <ProgID> then GUID is returned in <ID>
0056   Standard_EXPORT static Standard_Boolean GUIDFromProgID (const TCollection_ExtendedString& ProgID, Standard_GUID& ID);
0057   
0058   //! Returns True if there is ProgID for given <ID> then ProgID is returned in <ProgID>
0059   Standard_EXPORT static Standard_Boolean ProgIDFromGUID (const Standard_GUID& ID, TCollection_ExtendedString& ProgID);
0060 
0061 };
0062 
0063 #endif // _TDF_HeaderFile