350a4db7f3c484ff7ef74e1ffbe80b8a16ecddff
[occt.git] / src / Dynamic / Dynamic_InterpretedMethod.cdl
1 -- Created on: 1993-01-28
2 -- Created by: Gilles DEBARBOUILLE
3 -- Copyright (c) 1993-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 InterpretedMethod from Dynamic
18
19 inherits
20
21     MethodDefinition from Dynamic
22
23         ---Purpose: This class derived from Method, describes an  
24         --          interpreted method. The additional field is the 
25         --          name of the file to be interpreted.
26
27 uses
28
29     CString from Standard,
30     HAsciiString from TCollection,
31     AsciiString  from TCollection
32
33 is
34
35     Create(aname , afile : CString from Standard) returns mutable InterpretedMethod from Dynamic;
36     
37     ---Level: Public 
38     
39     ---Purpose: Creates a new  InterpretedMethod with <aname> as  name
40     --          and <afile> as file name to be interpreted.
41     
42     Function(me : mutable ; afile : CString from Standard)
43     
44     ---Level: Public 
45     
46     ---Purpose: Sets the the   name of the  file to  be interpreted to
47     --          <afile>.
48     
49     is static;
50     
51     Function(me) returns AsciiString from TCollection
52     
53     ---Level: Public 
54     
55     ---Purpose: Returns the name of the file to be interpreted.
56     
57     is static;
58     
59 fields
60
61     thefunction : HAsciiString from TCollection;
62
63 end InterpretedMethod;