0024428: Implementation of LGPL license
[occt.git] / src / IGESSelect / IGESSelect_SelectFromSingleView.cdl
1 -- Created on: 1994-05-31
2 -- Created by: Christian CAILLET
3 -- Copyright (c) 1994-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
8 -- This library is free software; you can redistribute it and / or modify it
9 -- under the terms of the GNU Lesser General Public version 2.1 as published
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class SelectFromSingleView  from IGESSelect  inherits SelectDeduct
18
19     ---Purpose : This selection gets in all the model, the entities which are
20     --           attached to the views given as input. Only Single Views are
21     --           considered. This information is kept from Directory Part
22     --           (View Item).
23
24 uses AsciiString from TCollection, EntityIterator, Graph
25
26 raises InterfaceError
27
28 is
29
30     Create returns mutable SelectFromSingleView;
31     ---Purpose : Creates a SelectFromSingleView
32
33     RootResult (me; G : Graph) returns EntityIterator  raises InterfaceError;
34     ---Purpose : Selects the Entities which are attached to the Single View(s)
35     --           present in the Input
36
37     Label (me) returns AsciiString from TCollection;
38     ---Purpose : Returns the label, with is "Entities attached to single View"
39
40 end SelectFromSingleView;