0022627: Change OCCT memory management defaults
[occt.git] / src / IGESSelect / IGESSelect_SelectBypassSubfigure.cdl
CommitLineData
7fd59977 1-- File: IGESSelect_SelectBypassSubfigure.cdl
2-- Created: Tue Jan 13 08:44:11 1998
3-- Author: Christian CAILLET
4-- <xstep@heliox.paris1.matra-dtv.fr>
5---Copyright: Matra Datavision 1998
6
7
8class SelectBypassSubfigure from IGESSelect inherits SelectExplore
9
10 ---Purpose : Selects a list built as follows :
11 -- Subfigures correspond to
12 -- * Definition (basic : type 308, or Network : type 320)
13 -- * Instance (Singular : type 408, or Network : 420, or
14 -- patterns : 412,414)
15 --
16 -- Entities which are not Subfigure are taken as such
17 -- For Subfigures Instances, their definition is taken, then
18 -- explored itself
19 -- For Subfigures Definitions, the list of "Associated Entities"
20 -- is explored
21 -- Hence, level 0 (D) recursively explores a Subfigure if some of
22 -- its Elements are Subfigures. level 1 explores just at first
23 -- level (i.e. for an instance, returns its definition)
24
25uses AsciiString from TCollection, Transient, EntityIterator, Graph
26
27raises InterfaceError
28
29is
30
31 Create (level : Integer = 0) returns mutable SelectBypassSubfigure;
32 ---Purpose : Creates a SelectBypassSubfigure, by default all level
33 -- (level = 1 explores at first level)
34
35 Explore (me; level : Integer; ent : Transient; G : Graph;
36 explored : in out EntityIterator)
37 returns Boolean;
38 ---Purpose : Explores an entity : for a Subfigure, gives its elements
39 -- Else, takes the entity itself
40
41
42 ExploreLabel (me) returns AsciiString from TCollection;
43 ---Purpose : Returns a text defining the criterium : "Content of Subfigure"
44
45end SelectBypassSubfigure;