mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
The copying permission statements at the beginning of source files updated to refer to LGPL. Copyright dates extended till 2014 in advance.
62 lines
1.7 KiB
Plaintext
62 lines
1.7 KiB
Plaintext
-- Created on: 1992-08-18
|
|
-- Created by: Arnaud BOUZY
|
|
-- 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 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 GenRel from ExprIntrp inherits Generator from ExprIntrp
|
|
|
|
---Purpose: Implements an interpreter for equations or system
|
|
-- of equations made of expressions of package Expr.
|
|
|
|
uses GeneralRelation from Expr,
|
|
AsciiString from TCollection
|
|
|
|
raises NoSuchObject
|
|
|
|
is
|
|
|
|
Create
|
|
---Purpose: Creates an empty generator
|
|
---Level: Advanced
|
|
returns mutable GenRel is private;
|
|
|
|
Create( myclass ) returns GenRel;
|
|
|
|
Process(me : mutable; str : AsciiString)
|
|
---Purpose: Processes given string.
|
|
---Level: Advanced
|
|
is static;
|
|
|
|
IsDone(me)
|
|
---Purpose: Returns false if any syntax error has occurred during
|
|
-- process.
|
|
---Level: Advanced
|
|
returns Boolean
|
|
is static;
|
|
|
|
Relation(me)
|
|
---Purpose: Returns relation generated. Raises an exception if
|
|
-- IsDone answers false.
|
|
---Level: Advanced
|
|
returns mutable GeneralRelation
|
|
raises NoSuchObject
|
|
is static;
|
|
|
|
fields
|
|
|
|
done : Boolean;
|
|
myRelation : GeneralRelation;
|
|
|
|
end GenRel;
|