1 -- Created on: 1993-01-09
2 -- Created by: CKY / Contract Toubro-Larsen ( TCD )
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class DefinitionLevel from IGESGraph inherits LevelListEntity
19 ---Purpose: defines IGESDefinitionLevel, Type <406> Form <1>
20 -- in package IGESGraph
22 -- Indicates the no. of levels on which an entity is
27 IGESEntity from IGESData,
28 HArray1OfInteger from TColStd
34 Create returns DefinitionLevel;
36 -- Specific Methods pertaining to the class
39 allLevelNumbers : HArray1OfInteger);
40 ---Purpose : This method is used to set the fields of the class
42 -- - allLevelNumbers : Values of Level Numbers
44 NbPropertyValues (me) returns Integer;
45 ---Purpose : returns the number of property values in <me>
47 NbLevelNumbers (me) returns Integer;
48 ---Purpose : Must return the count of levels (== NbPropertyValues)
50 LevelNumber (me; LevelIndex : Integer) returns Integer
52 ---Purpose : returns the Level Number of <me> indicated by <LevelIndex>
53 -- raises an exception if LevelIndex is <= 0 or
54 -- LevelIndex > NbPropertyValues
59 -- Class : IGESGraph_DefinitionLevel
61 -- Purpose : Declaration of the variables specific to a Definition Level.
63 -- Reminder : A Definition Level is defined by :
66 theLevelNumbers : HArray1OfInteger;