0031687: Draw Harness, ViewerTest - extend command vrenderparams with option updating...
[occt.git] / src / TDocStd / TDocStd.hxx
CommitLineData
42cf5bc1 1// Created on: 1999-04-07
2// Created by: Denis PASCAL
3// Copyright (c) 1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _TDocStd_HeaderFile
18#define _TDocStd_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <TDF_IDList.hxx>
25class TDocStd_Application;
26class TDocStd_Document;
27class TDocStd_Context;
28class TDocStd_XLink;
29class TDocStd_XLinkIterator;
30class TDocStd_XLinkTool;
31class TDocStd_Owner;
32class TDocStd_Modified;
33class TDocStd_XLinkRoot;
34class TDocStd_PathParser;
35class TDocStd_CompoundDelta;
36class TDocStd_ApplicationDelta;
37class TDocStd_MultiTransactionManager;
38
39
40//! This package define CAF main classes.
41//!
42//! * The standard application root class
43//!
44//! * The standard document wich contains data
45//!
46//! * The external reference mechanism between documents
47//!
48//! * Attributes for Document management
49//! Standard documents offer you a ready-to-use
50//! document containing a TDF-based data
51//! structure. The documents themselves are
52//! contained in a class inheriting from
53//! TDocStd_Application which manages creation,
54//! storage and retrieval of documents.
55//! You can implement undo and redo in your
56//! document, and refer from the data framework of
57//! one document to that of another one. This is
58//! done by means of external link attributes, which
59//! store the path and the entry of external links. To
60//! sum up, standard documents alone provide
61//! access to the data framework. They also allow
62//! you to:
63//! - Update external links
64//! - Manage the saving and opening of data
65//! - Manage undo/redo functionality.
66//! Note
67//! For information on the relations between this
68//! component of OCAF and the others, refer to the
69//! OCAF User's Guide.
70class TDocStd
71{
72public:
73
74 DEFINE_STANDARD_ALLOC
75
76
77 //! specific GUID of this package
78 //! =============================
79 //! Appends to <anIDList> the list of the attributes
80 //! IDs of this package. CAUTION: <anIDList> is NOT
81 //! cleared before use.
82 Standard_EXPORT static void IDList (TDF_IDList& anIDList);
83
84
85
86
87protected:
88
89
90
91
92
93private:
94
95
96
97
98friend class TDocStd_Application;
99friend class TDocStd_Document;
100friend class TDocStd_Context;
101friend class TDocStd_XLink;
102friend class TDocStd_XLinkIterator;
103friend class TDocStd_XLinkTool;
104friend class TDocStd_Owner;
105friend class TDocStd_Modified;
106friend class TDocStd_XLinkRoot;
107friend class TDocStd_PathParser;
108friend class TDocStd_CompoundDelta;
109friend class TDocStd_ApplicationDelta;
110friend class TDocStd_MultiTransactionManager;
111
112};
113
114
115
116
117
118
119
120#endif // _TDocStd_HeaderFile