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

66 lines
2.5 KiB
Plaintext

-- Created on: 1996-09-25
-- 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 SelectSignedShared from IFSelect inherits SelectExplore
---Purpose : In the graph, explore the Shareds of the input entities,
-- until it encounters some which match a given Signature
-- (for a limited level, filters the returned list)
-- By default, fitted for any level
uses AsciiString, Transient, Graph, EntityIterator, Signature
is
Create (matcher : Signature;
signtext : CString;
exact : Boolean = Standard_True;
level : Integer = 0) returns mutable SelectSignedShared;
---Purpose : Creates a SelectSignedShared, defaulted for any level
-- with a given Signature and text to match
Signature (me) returns mutable Signature;
---Purpose : Returns the used Signature, then it is possible to access it,
-- modify it as required
SignatureText (me) returns AsciiString from TCollection;
---Purpose : Returns Text used to Sort Entity on its Signature
---C++ : return const &
IsExact (me) returns Boolean;
---Purpose : Returns True if match must be exact
Explore (me; level : Integer; ent : Transient; G : Graph;
explored : in out EntityIterator)
returns Boolean;
---Purpose : Explores an entity : its Shared entities
-- <ent> to take if it matches the Signature
-- At level max, filters the result. Else gives all Shareds
ExploreLabel (me) returns AsciiString from TCollection;
---Purpose : Returns a text defining the criterium.
-- (it refers to the text and exact flag to be matched, and is
-- qualified by the Name provided by the Signature)
fields
thematcher : Signature;
thesigntext : AsciiString from TCollection;
theexact : Boolean;
end SelectSignedShared;