1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00
Files
occt/src/ExprIntrp/ExprIntrp_Analysis.cdl
abv 97385d6142 0024841: Remove duplicated and/or unused instances of collections
Removed duplicated instantiations of TCollection classes:
- BRepMAT2d_SequenceOfBasicElt: duplicates MAT_SequenceOfBasicElt
- BRepMesh_NodeHasherOfDataStructureOfDelaun, BRepMesh_IDMapOfNodeOfDataStructureOfDelaun: not used
- QADNaming_DataMapOfShapeOfName: duplicates DNaming_DataMapOfShapeOfName
- TDF_LabelLabelMap: not used
- Graphic3d_SequenceOfAddress: not used
- CDM_StackOfDocument: duplicates ListOfDocument (after fix on #24742)
- Draw_MapOfFunctions: duplicates Plugin_MapOfFunctions
- ExprIntrp_SkackOfNames: duplicates TColStd_ListOfAsciiString (after fix on #24742)
- in package Storage: (H)SeqOfPersistent, MapPSDHasher, (H)SeqOfCallback: not used

In addition, inheritance of MeshVS_ColorHasher from TColStd_MapIntegerHasher is dropped as it is useless but leads to problems if TColStd_MapIntegerHasher is converted to template.
First of the two overloaded functions Draw::Load() removed as it is unused.
Removed unused classes and files from PCollection and related packages.
2014-05-15 17:50:04 +04:00

117 lines
2.9 KiB
Plaintext

-- Created on: 1992-02-21
-- 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 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.
private class Analysis from ExprIntrp
---Purpose:
uses Generator from ExprIntrp,
GeneralExpression from Expr,
GeneralRelation from Expr,
GeneralFunction from Expr,
StackOfGeneralExpression from ExprIntrp,
StackOfGeneralRelation from ExprIntrp,
StackOfGeneralFunction from ExprIntrp,
ListOfInteger from TColStd,
SequenceOfGeneralExpression from Expr,
SequenceOfNamedFunction from ExprIntrp,
SequenceOfNamedExpression from ExprIntrp,
NamedFunction from Expr,
NamedExpression from Expr,
AsciiString from TCollection,
ListOfAsciiString from TColStd
is
Create
returns Analysis;
SetMaster(me : in out; agen : Generator)
is static;
Push(me : in out; exp : GeneralExpression)
is static;
PushRelation(me : in out; rel : GeneralRelation)
is static;
PushName(me : in out; name : AsciiString)
is static;
PushValue(me : in out; degree : Integer)
is static;
PushFunction(me : in out; func : GeneralFunction)
is static;
Pop(me : in out)
returns GeneralExpression
is static;
PopRelation(me : in out)
returns GeneralRelation
is static;
PopName(me : in out)
returns AsciiString
is static;
PopValue(me: in out)
returns Integer
is static;
PopFunction(me: in out)
returns GeneralFunction
is static;
IsExpStackEmpty(me)
returns Boolean
is static;
IsRelStackEmpty(me)
returns Boolean
is static;
ResetAll(me : in out)
is static;
Use(me : in out; func : NamedFunction)
is static;
Use(me : in out; named : NamedExpression)
is static;
GetNamed(me : in out; name : AsciiString)
returns NamedExpression
is static;
GetFunction(me : in out; name : AsciiString)
returns NamedFunction
is static;
fields
myGEStack : StackOfGeneralExpression;
myGRStack : StackOfGeneralRelation;
myGFStack : StackOfGeneralFunction;
myNameStack : ListOfAsciiString from TColStd;
myValueStack : ListOfInteger;
myFunctions : SequenceOfNamedFunction;
myNamed : SequenceOfNamedExpression;
myMaster : Generator;
end Analysis;