b311480e |
1 | -- Created on: 1993-01-11 |
2 | -- Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN ) |
3 | -- Copyright (c) 1993-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
7fd59977 |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
7fd59977 |
7 | -- |
973c2be1 |
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. |
7fd59977 |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class FlowLineSpec from IGESAppli inherits IGESEntity |
18 | |
19 | ---Purpose: defines FlowLineSpec, Type <406> Form <14> |
20 | -- in package IGESAppli |
21 | -- Attaches one or more text strings to entities being |
22 | -- used to represent a flow line |
23 | |
24 | uses |
25 | |
26 | HAsciiString from TCollection, |
27 | HArray1OfHAsciiString from Interface |
28 | |
29 | raises OutOfRange |
30 | |
31 | is |
32 | |
33 | Create returns mutable FlowLineSpec; |
34 | |
35 | -- Specific Methods pertaining to the class |
36 | |
37 | Init (me : mutable; allProperties : HArray1OfHAsciiString); |
38 | ---Purpose : This method is used to set the fields of the class |
39 | -- FlowLineSpec |
40 | -- - allProperties : primary flow line specification and modifiers |
41 | |
42 | NbPropertyValues (me) returns Integer; |
43 | ---Purpose : returns the number of property values |
44 | |
45 | FlowLineName (me) returns HAsciiString from TCollection; |
46 | ---Purpose : returns primary flow line specification name |
47 | |
48 | Modifier (me; Index : Integer) returns HAsciiString from TCollection |
49 | raises OutOfRange; |
50 | ---Purpose : returns specified modifier element |
51 | -- raises exception if Index <= 1 or Index > NbPropertyValues |
52 | |
53 | fields |
54 | |
55 | -- |
56 | -- Class : IGESAppli_FlowLineSpec |
57 | -- |
58 | -- Purpose : Declaration of variables specific to the definition |
59 | -- of the Class FlowLineSpec. |
60 | -- |
61 | -- Reminder : A FlowLineSpec instance is defined by : |
62 | -- - primary flow line specification name and modifiers |
63 | |
64 | theNameAndModifiers : HArray1OfHAsciiString; |
65 | |
66 | end FlowLineSpec; |