mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-19 01:39:00 +08:00
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.
90 lines
3.5 KiB
Plaintext
90 lines
3.5 KiB
Plaintext
-- Created on: 1993-10-14
|
|
-- Created by: Christian CAILLET
|
|
-- Copyright (c) 1993-1999 Matra Datavision
|
|
-- Copyright (c) 1999-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.
|
|
|
|
class ToolViewsVisible from IGESDraw
|
|
|
|
---Purpose : Tool to work on a ViewsVisible. Called by various Modules
|
|
-- (ReadWriteModule, GeneralModule, SpecificModule)
|
|
|
|
uses ViewsVisible from IGESDraw,
|
|
IGESReaderData, ParamReader, IGESWriter, EntityIterator,
|
|
DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message
|
|
|
|
raises DomainError
|
|
|
|
is
|
|
|
|
Create returns ToolViewsVisible;
|
|
---Purpose : Returns a ToolViewsVisible, ready to work
|
|
|
|
|
|
ReadOwnParams (me; ent : mutable ViewsVisible;
|
|
IR : IGESReaderData; PR : in out ParamReader)
|
|
raises DomainError is static;
|
|
---Purpose : Reads own parameters from file. <PR> gives access to them,
|
|
-- <IR> detains parameter types and values
|
|
|
|
WriteOwnParams (me; ent : ViewsVisible;
|
|
IW : in out IGESWriter) is static;
|
|
---Purpose : Writes own parameters to IGESWriter
|
|
|
|
|
|
OwnShared (me; ent : ViewsVisible;
|
|
iter : in out EntityIterator) is static;
|
|
---Purpose : Lists the Entities shared by a ViewsVisible <ent>, from
|
|
-- its specific (own) parameters shared not implied (the Views)
|
|
|
|
OwnImplied (me; ent : ViewsVisible;
|
|
iter : in out EntityIterator) is static;
|
|
---Purpose : Lists the Entities shared by a ViewsVisible <ent>, from
|
|
-- its specific (own) implied parameters : the Displayed Entities
|
|
|
|
|
|
DirChecker (me; ent : ViewsVisible) returns DirChecker is static;
|
|
---Purpose : Returns specific DirChecker
|
|
|
|
OwnCheck (me; ent : ViewsVisible;
|
|
shares : ShareTool; ach : in out Check) is static;
|
|
---Purpose : Performs Specific Semantic Check
|
|
|
|
|
|
OwnCopy (me; entfrom : ViewsVisible; entto : mutable ViewsVisible;
|
|
TC : in out CopyTool) is static;
|
|
---Purpose : Copies Specific Parameters shared not implied, i.e. all but
|
|
-- the Displayed Entities
|
|
|
|
OwnRenew (me; entfrom : ViewsVisible; entto : mutable ViewsVisible;
|
|
TC : CopyTool) is static;
|
|
---Purpose : Copies Specific implied Parameters : the Displayed Entities
|
|
-- which have already been copied
|
|
|
|
OwnWhenDelete (me; ent : ViewsVisible) is static;
|
|
---Purpose : Clears specific implied parameters, which cause looping
|
|
-- structures; required for deletion
|
|
|
|
|
|
OwnDump (me; ent : ViewsVisible;
|
|
dumper : IGESDumper; S : Messenger from Message; own : Integer)
|
|
is static;
|
|
---Purpose : Dump of Specific Parameters
|
|
|
|
OwnCorrect (me; ent : mutable ViewsVisible) returns Boolean is static;
|
|
---Purpose : Sets automatic unambiguous Correction on a ViewsVisible
|
|
-- (all displayed entities must refer to <ent> in directory part,
|
|
-- else the list is cleared)
|
|
|
|
end ToolViewsVisible;
|