Files
OCCT/src/IFSelect/IFSelect_FileModifier.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

59 lines
2.6 KiB
Plaintext

-- Created on: 1994-03-21
-- Created by: Christian CAILLET
-- Copyright (c) 1994-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.
deferred generic class FileModifier from IFSelect
(Writer as any) -- according each Interface
inherits GeneralModifier
---Purpose : Allows to precise the frame work for File Modifiers able to
-- run with an Interface (such as STEP, VDA, IGES ...)
--
-- Remember that File Modifiers are activated by a WorkLibrary :
-- if they inherit from an instantiation of FileModifier with the
-- data from this Interface, this will be easier to do.
-- They are activated before sending the file, in the order
-- given by the ModielCopier.
--
-- For each Interface on which File Modifiers have to be defined,
-- The way to follow is firstly to instantiate FileModifier with
-- its specific data :
-- Model is the InterfaceModel specific to the considered norm
-- Writer is the Writer specific to the considered norm
-- Then to define the various classes which inherit from it and
-- define their method Perform
uses ContextWrite
is
Initialize;
---Purpose : Sets a File Modifier to keep the graph of dependences
-- unchanges (because it works on the model already produced)
Perform (me; ctx : in out ContextWrite; writer : in out Writer)
is deferred;
---Purpose : Perform the action specific to each class of File Modifier
-- <ctx> is the ContextWrite, which brings : the model, the
-- protocol, the file name, plus the object AppliedModifiers
-- (not used here) and the CheckList
-- Remark that the model has to be casted for specific access
--
-- <writer> is the Writer and is specific to each norm, on which
-- to act
end FileModifier;