0024947: Redesign OCCT legacy type system -- automatic
[occt.git] / src / StepRepr / StepRepr_CharacterizedDefinition.cdl
CommitLineData
b311480e 1-- Created on: 2000-05-11
2-- Created by: data exchange team
973c2be1 3-- Copyright (c) 2000-2014 OPEN CASCADE SAS
b311480e 4--
973c2be1 5-- This file is part of Open CASCADE Technology software library.
b311480e 6--
d5f74e42 7-- This library is free software; you can redistribute it and/or modify it under
8-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 9-- by the Free Software Foundation, with special exception defined in the file
10-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 12--
973c2be1 13-- Alternatively, this file may be used under the terms of Open CASCADE
14-- commercial license or contractual agreement.
b311480e 15
7fd59977 16-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
7fd59977 17
18class CharacterizedDefinition from StepRepr
19inherits SelectType from StepData
20
21 ---Purpose: Representation of STEP SELECT type CharacterizedDefinition
22
23uses
24 CharacterizedObject from StepBasic,
25 ProductDefinition from StepBasic,
26 ProductDefinitionRelationship from StepBasic,
27 ProductDefinitionShape from StepRepr,
28 ShapeAspect from StepRepr,
29 ShapeAspectRelationship from StepRepr,
30 DocumentFile from StepBasic
31
32is
33 Create returns CharacterizedDefinition from StepRepr;
34 ---Purpose: Empty constructor
35
36 CaseNum (me; ent: Transient) returns Integer;
37 ---Purpose: Recognizes a kind of CharacterizedDefinition select type
38 -- 1 -> CharacterizedObject from StepBasic
39 -- 2 -> ProductDefinition from StepBasic
40 -- 3 -> ProductDefinitionRelationship from StepBasic
41 -- 4 -> ProductDefinitionShape from StepRepr
42 -- 5 -> ShapeAspect from StepRepr
43 -- 6 -> ShapeAspectRelationship from StepRepr
44 -- 7 -> DocumentFile from StepBasic
45 -- 0 else
46
47 CharacterizedObject (me) returns CharacterizedObject from StepBasic;
48 ---Purpose: Returns Value as CharacterizedObject (or Null if another type)
49
50 ProductDefinition (me) returns ProductDefinition from StepBasic;
51 ---Purpose: Returns Value as ProductDefinition (or Null if another type)
52
53 ProductDefinitionRelationship (me) returns ProductDefinitionRelationship from StepBasic;
54 ---Purpose: Returns Value as ProductDefinitionRelationship (or Null if another type)
55
56 ProductDefinitionShape (me) returns ProductDefinitionShape from StepRepr;
57 ---Purpose: Returns Value as ProductDefinitionShape (or Null if another type)
58
59 ShapeAspect (me) returns ShapeAspect from StepRepr;
60 ---Purpose: Returns Value as ShapeAspect (or Null if another type)
61
62 ShapeAspectRelationship (me) returns ShapeAspectRelationship from StepRepr;
63 ---Purpose: Returns Value as ShapeAspectRelationship (or Null if another type)
64
65 DocumentFile (me) returns DocumentFile from StepBasic;
66 ---Purpose: Returns Value as DocumentFile (or Null if another type)
67
68end CharacterizedDefinition;