mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
86 lines
3.3 KiB
Plaintext
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 mutable UndefinedEntity;
|
|
---Purpose : creates an Unknown entity
|
|
|
|
Create (issub : Boolean) returns mutable 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 mutable 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 mutable 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 mutable 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;
|