1 -- Created on: 1993-01-09
2 -- Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
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 ExternalReferenceFile from IGESBasic inherits IGESEntity
19 ---Purpose: defines ExternalReferenceFile, Type <406> Form <12>
20 -- in package IGESBasic
21 -- References definitions residing in another file
25 HAsciiString from TCollection,
26 HArray1OfHAsciiString from Interface
32 Create returns ExternalReferenceFile;
34 -- Specific Methods pertaining to the class
36 Init (me : mutable; aNameArray : HArray1OfHAsciiString);
37 ---Purpose : This method is used to set the fields of the class
38 -- ExternalReferenceFile
39 -- - aNameArray : External Reference File Names
41 NbListEntries (me) returns Integer;
42 ---Purpose : returns number of External Reference File Names
44 Name (me; Index : Integer) returns HAsciiString from TCollection
46 ---Purpose : returns External Reference File Name
47 -- raises exception if Index <= 0 or Index > NbListEntries()
52 -- Class : IGESBasic_ExternalReferenceFile
54 -- Purpose : Declaration of variables specific to the definition
55 -- of the Class ExternalReferenceFile.
57 -- Reminder : A ExternalReferenceFile instance is defined by :
58 -- - External Reference File Names
60 theNames : HArray1OfHAsciiString;
62 end ExternalReferenceFile;