Files
OCCT/src/StepData/StepData_UndefinedEntity.cdl
abv 6e33d3ced2 0024830: Remove redundant keyword 'mutable' in CDL declarations
Redundant keyword 'mutable' removed in CDL files.
In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed.
Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
2014-05-29 14:58:25 +04:00

86 lines
3.3 KiB
Plaintext

-- Created on: 1992-02-11
-- Created by: Christian CAILLET
-- Copyright (c) 1992-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
class UndefinedEntity from StepData inherits TShared
---Purpose : Undefined entity specific to Step Interface, in which StepType
-- is defined at each instance, or is a SubList of another one
-- Uses an UndefinedContent, that from Interface is suitable.
-- Also an Entity defined by STEP can be "Complex Type" (see
-- ANDOR clause in Express).
uses AsciiString from TCollection, HAsciiString from TCollection,
UndefinedContent, Check, CopyTool, EntityIterator,
StepReaderData, StepWriter
is
Create returns UndefinedEntity;
---Purpose : creates an Unknown entity
Create (issub : Boolean) returns UndefinedEntity;
---Purpose : Creates a SubList of an Unknown entity : it is an Unknown
-- Entity with no Type, but flagged as "SUB" if issub is True
UndefinedContent (me) returns UndefinedContent;
---Purpose : Returns the UndefinedContent which brings the Parameters
IsSub (me) returns Boolean;
---Purpose : Returns True if an Unndefined Entity is SubPart of another one
Super (me) returns UndefinedEntity;
---Purpose : Returns the "super-entity" of a sub-part
IsComplex (me) returns Boolean;
---Purpose : Returns True if <me> defines a Multiple Type Entity (see ANDOR)
Next (me) returns UndefinedEntity;
---Purpose : For a Multiple Type Entity, returns the Next "Componant"
-- For more than two Types, iterative definition (Next->Next...)
-- Returns a Null Handle for the end of the List
StepType (me) returns CString;
---Purpose : gives entity type, read from file
-- For a Complex Type Entity, gives the first Type read, each
-- "Next" gives its "partial" type
-- was C++ : return const
ReadRecord (me : mutable;
SR : StepReaderData; num : Integer; ach : in out Check);
---Purpose : reads data from StepReaderData (i.e. from file), by filling
-- StepType and parameters stored in the UndefinedContent
WriteParams (me; SW : in out StepWriter);
---Purpose : write data to StepWriter, taken from UndefinedContent
GetFromAnother (me : mutable; other : like me;
TC : in out CopyTool);
---Purpose : reads another UndefinedEntity from StepData
FillShared (me; list : in out EntityIterator from Interface);
---Purpose : Fills the list of shared entities
fields
thetype : HAsciiString from TCollection;
thecont : UndefinedContent;
thesub : Boolean;
thenext : UndefinedEntity; -- for a Multiple Type Entity
end UndefinedEntity;