0024750: Replace instantiations of TCollection generic classes by NCollection templat...
[occt.git] / src / StepVisual / StepVisual_StyleContextSelect.cdl
1 -- Created on: 1995-12-01
2 -- Created by: EXPRESS->CDL V0.2 Translator
3 -- Copyright (c) 1995-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 under
9 -- the terms of the GNU Lesser General Public License 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 StyleContextSelect from StepVisual inherits SelectType from StepData
18
19         -- <StyleContextSelect> is an EXPRESS Select Type construct translation.
20         -- it gathers : Representation, RepresentationItem, PresentationSet
21
22 uses
23
24         Representation from StepRepr,
25         RepresentationItem from StepRepr,
26         PresentationSet from StepVisual
27 is
28
29         Create returns StyleContextSelect;
30         ---Purpose : Returns a StyleContextSelect SelectType
31
32         CaseNum (me; ent : Transient) returns Integer;
33         ---Purpose: Recognizes a StyleContextSelect Kind Entity that is :
34         --        1 -> Representation
35         --        2 -> RepresentationItem
36         --        3 -> PresentationSet
37         --        0 else
38
39         Representation (me) returns any Representation;
40         ---Purpose : returns Value as a Representation (Null if another type)
41
42         RepresentationItem (me) returns any RepresentationItem;
43         ---Purpose : returns Value as a RepresentationItem (Null if another type)
44
45         PresentationSet (me) returns any PresentationSet;
46         ---Purpose : returns Value as a PresentationSet (Null if another type)
47
48
49 end StyleContextSelect;
50