0024805: Eliminate unused static functions and methods: ShallowDump(), ShallowCopy...
[occt.git] / src / IFSelect / IFSelect_SelectSignedShared.cdl
CommitLineData
b311480e 1-- Created on: 1996-09-25
2-- Created by: Christian CAILLET
3-- Copyright (c) 1996-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class SelectSignedShared from IFSelect inherits SelectExplore
18
19 ---Purpose : In the graph, explore the Shareds of the input entities,
20 -- until it encounters some which match a given Signature
21 -- (for a limited level, filters the returned list)
22 -- By default, fitted for any level
23
24uses AsciiString, Transient, Graph, EntityIterator, Signature
25
26is
27
28 Create (matcher : Signature;
29 signtext : CString;
30 exact : Boolean = Standard_True;
31 level : Integer = 0) returns mutable SelectSignedShared;
32 ---Purpose : Creates a SelectSignedShared, defaulted for any level
33 -- with a given Signature and text to match
34
35 Signature (me) returns mutable Signature;
36 ---Purpose : Returns the used Signature, then it is possible to access it,
37 -- modify it as required
38
39 SignatureText (me) returns AsciiString from TCollection;
40 ---Purpose : Returns Text used to Sort Entity on its Signature
41 ---C++ : return const &
42
43 IsExact (me) returns Boolean;
44 ---Purpose : Returns True if match must be exact
45
46 Explore (me; level : Integer; ent : Transient; G : Graph;
47 explored : in out EntityIterator)
48 returns Boolean;
49 ---Purpose : Explores an entity : its Shared entities
50 -- <ent> to take if it matches the Signature
51 -- At level max, filters the result. Else gives all Shareds
52
53
54 ExploreLabel (me) returns AsciiString from TCollection;
55 ---Purpose : Returns a text defining the criterium.
56 -- (it refers to the text and exact flag to be matched, and is
57 -- qualified by the Name provided by the Signature)
58
59fields
60
61 thematcher : Signature;
62 thesigntext : AsciiString from TCollection;
63 theexact : Boolean;
64
65end SelectSignedShared;