mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-16 06:25:04 +08:00
Redundant keyword 'mutable' removed in CDL files. In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed. Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
80 lines
3.4 KiB
Plaintext
80 lines
3.4 KiB
Plaintext
-- Created on: 1996-03-26
|
|
-- Created by: Christian CAILLET
|
|
-- Copyright (c) 1996-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 SelectForTransfer from XSControl inherits SelectExtract from IFSelect
|
|
|
|
---Purpose : This selection selects the entities which are recognised for
|
|
-- transfer by an Actor for Read : current one or another one.
|
|
--
|
|
-- An Actor is an operator which runs transfers from interface
|
|
-- entities to objects for Imagine. It has a method to recognize
|
|
-- the entities it can process (by default, it recognises all,
|
|
-- this method can be redefined).
|
|
--
|
|
-- A TransferReader brings an Actor, according to the currently
|
|
-- selected norm and transfer conditions.
|
|
--
|
|
-- This selection considers, either the current Actor (brought by
|
|
-- the TransferReader, updated as required), or a precise one.
|
|
|
|
uses AsciiString from TCollection, InterfaceModel,
|
|
ActorOfTransientProcess, TransferReader
|
|
|
|
is
|
|
|
|
Create returns SelectForTransfer;
|
|
---Purpose : Creates a SelectForTransfer, non initialised
|
|
-- it sorts nothing, unless an Actor has been defined
|
|
|
|
Create (TR : TransferReader) returns SelectForTransfer;
|
|
---Purpose : Creates a SelectForTransfer, which will work with the
|
|
-- currently defined Actor brought by the TransferReader
|
|
|
|
SetReader (me : mutable; TR : TransferReader);
|
|
---Purpose : Sets a TransferReader to sort entities : it brings the Actor,
|
|
-- which may change, while the TransferReader does not
|
|
|
|
SetActor (me : mutable; act : ActorOfTransientProcess);
|
|
---Purpose : Sets a precise actor to sort entities
|
|
-- This definition oversedes the creation with a TransferReader
|
|
|
|
Actor (me) returns ActorOfTransientProcess;
|
|
---Purpose : Returns the Actor used as precised one.
|
|
-- Returns a Null Handle for a creation from a TransferReader
|
|
-- without any further setting
|
|
|
|
Reader (me) returns TransferReader;
|
|
---Purpose : Returns the Reader (if created with a Reader)
|
|
-- Returns a Null Handle if not created with a Reader
|
|
|
|
|
|
Sort (me; rank : Integer; ent : Transient; model : InterfaceModel)
|
|
returns Boolean;
|
|
---Purpose : Returns True for an Entity which is recognized by the Actor,
|
|
-- either the precised one, or the one defined by TransferReader
|
|
|
|
--Sort (me; ent : in out Transient) returns Boolean;
|
|
|
|
ExtractLabel (me) returns AsciiString from TCollection;
|
|
---Purpose : Returns a text defining the criterium : "Recognized for Transfer [(current actor)]"
|
|
|
|
fields
|
|
|
|
theTR : TransferReader;
|
|
theAC : ActorOfTransientProcess;
|
|
|
|
end SelectForTransfer;
|