0024947: Redesign OCCT legacy type system -- automatic
[occt.git] / src / StepGeom / StepGeom_GeometricRepresentationContextAndParametricRepresentationContext.cdl
1 -- Created on: 1995-12-07
2 -- Created by: FMA
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 GeometricRepresentationContextAndParametricRepresentationContext from StepGeom 
18
19 inherits RepresentationContext from StepRepr
20
21
22         --- This classe is an implementation of EXPRESS
23         --  ANDOR Subtype Declaration.
24         --  
25         --  Hand made by FMA - 1995 Feb 9th
26 uses
27
28         GeometricRepresentationContext from StepGeom, 
29         ParametricRepresentationContext from StepRepr, 
30         HAsciiString from TCollection, 
31         Integer from Standard
32
33 is
34
35         Create returns GeometricRepresentationContextAndParametricRepresentationContext;
36         ---Purpose: empty constructor
37
38
39         Init (me : mutable;
40               aContextIdentifier : HAsciiString from TCollection;
41               aContextType : HAsciiString from TCollection) is redefined;
42
43         Init (me : mutable;
44               aContextIdentifier : HAsciiString from TCollection;
45               aContextType : HAsciiString from TCollection;
46               aGeometricRepresentationContext : GeometricRepresentationContext from StepGeom;
47               aParametricRepresentationContext : ParametricRepresentationContext from StepRepr) is virtual;
48
49         Init (me : mutable;
50               aContextIdentifier : HAsciiString from TCollection;
51               aContextType : HAsciiString from TCollection;
52               aCoordinateSpaceDimension : Integer from Standard) is virtual;
53
54         -- Specific Methods for Field Data Access --
55
56         SetGeometricRepresentationContext(me : mutable; aGeometricRepresentationContext : GeometricRepresentationContext);
57         GeometricRepresentationContext (me) returns GeometricRepresentationContext;
58         SetParametricRepresentationContext(me : mutable; aParametricRepresentationContext : ParametricRepresentationContext);
59         ParametricRepresentationContext (me) returns ParametricRepresentationContext;
60
61         -- Specific Methods for ANDOR Field Data Access --
62
63         SetCoordinateSpaceDimension(me : mutable; aCoordinateSpaceDimension : Integer);
64         CoordinateSpaceDimension (me) returns Integer;
65
66
67 fields
68
69         geometricRepresentationContext : GeometricRepresentationContext from StepGeom;
70         parametricRepresentationContext : ParametricRepresentationContext from StepRepr;
71
72 end GeometricRepresentationContextAndParametricRepresentationContext;