Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 1999-04-07
0002 // Created by: Denis PASCAL
0003 // Copyright (c) 1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _TDocStd_HeaderFile
0018 #define _TDocStd_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 
0024 #include <TDF_IDList.hxx>
0025 
0026 
0027 //! This package define  CAF main classes.
0028 //!
0029 //! * The standard application root class
0030 //!
0031 //! * The standard document which contains data
0032 //!
0033 //! * The external reference mechanism between documents
0034 //!
0035 //! * Attributes for Document management
0036 //! Standard documents offer you a ready-to-use
0037 //! document containing a TDF-based data
0038 //! structure. The documents themselves are
0039 //! contained in a class inheriting from
0040 //! TDocStd_Application which manages creation,
0041 //! storage and retrieval of documents.
0042 //! You can implement undo and redo in your
0043 //! document, and refer from the data framework of
0044 //! one document to that of another one. This is
0045 //! done by means of external link attributes, which
0046 //! store the path and the entry of external links. To
0047 //! sum up, standard documents alone provide
0048 //! access to the data framework. They also allow
0049 //! you to:
0050 //! -   Update external links
0051 //! -   Manage the saving and opening of data
0052 //! -   Manage undo/redo functionality.
0053 //! Note
0054 //! For information on the relations between this
0055 //! component of OCAF and the others, refer to the
0056 //! OCAF User's Guide.
0057 class TDocStd 
0058 {
0059 public:
0060 
0061   DEFINE_STANDARD_ALLOC
0062 
0063   
0064   //! specific GUID of this package
0065   //! =============================
0066   //! Appends to <anIDList> the list of the attributes
0067   //! IDs of this package. CAUTION: <anIDList> is NOT
0068   //! cleared before use.
0069   Standard_EXPORT static void IDList (TDF_IDList& anIDList);
0070 
0071 };
0072 
0073 #endif // _TDocStd_HeaderFile