1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-31 11:15:31 +03:00
occt/src/DDocStd/DDocStd.cdl
abv d5f74e42d6 0024624: Lost word in license statement in source files
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.
2014-02-20 16:15:17 +04:00

102 lines
3.2 KiB
Plaintext

-- Created on: 2000-03-01
-- Created by: Denis PASCAL
-- Copyright (c) 2000-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.
package DDocStd
---Purpose: This package provides Draw services to test CAF
-- standard documents (see TDocStd package)
--
-- It provides :
--
-- * Modification registration and Update management.
--
-- * External references mechanism
--
-- * UNDO/REDO
--
-- * Document Creation, Save and Restore
uses
Standard,
TCollection,
TColStd,
Draw,
TDF,
TDocStd,
DDF
is
---Category: Draw variable wich handle a CAF document
-- ========================================
class DrawDocument;
---Category: draw Application/Document/Label/Attribute tools
-- =========================================================
Find (Appli : in out Application from TDocStd;
Complain : in Boolean from Standard = Standard_True)
---Purpose: return the application of the session. False
-- if there is noone current application.
returns Boolean from Standard;
GetDocument (Name : in out CString from Standard;
Doc : in out Document from TDocStd;
Complain : in Boolean from Standard = Standard_True)
returns Boolean from Standard;
Find (Document : in Document from TDocStd;
Entry : in CString from Standard;
Label : in out Label from TDF;
Complain : in Boolean from Standard = Standard_True)
returns Boolean from Standard;
Find (Document : in Document from TDocStd;
Entry : in CString from Standard;
ID : in GUID from Standard;
A : in out Attribute from TDF;
Complain : Boolean from Standard = Standard_True)
returns Boolean;
ReturnLabel(theCommands : in out Interpretor from Draw; L : Label from TDF)
returns Interpretor from Draw;
---C++: return &
---Category: Commands
-- ==================
AllCommands(theCommands : in out Interpretor from Draw);
ApplicationCommands (theCommands : in out Interpretor from Draw);
---Purpose: NewDocument, Open, SaveAs, Save
DocumentCommands (theCommands : in out Interpretor from Draw);
---Purpose: Undo, Redo, SetModified, Propagate
ToolsCommands (theCommands : in out Interpretor from Draw);
---Purpose : Modified, Update
MTMCommands (theCommands : in out Interpretor from Draw);
---Purpose : Create, Add, Remove, Open, Commit, Undo, Redo, SetNestedMode
end DDocStd;