mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-14 04:04:13 +08:00
129 lines
3.9 KiB
Plaintext
Executable File
129 lines
3.9 KiB
Plaintext
Executable File
-- Created on: 1993-01-22
|
|
-- Created by: Gilles DEBARBOUILLE
|
|
-- Copyright (c) 1993-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
|
|
--
|
|
-- The content of this file is subject to the Open CASCADE Technology Public
|
|
-- License Version 6.5 (the "License"). You may not use the content of this file
|
|
-- except in compliance with the License. Please obtain a copy of the License
|
|
-- at http://www.opencascade.org and read it completely before using this file.
|
|
--
|
|
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
|
|
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
|
|
--
|
|
-- The Original Code and all software distributed under the License is
|
|
-- distributed on an "AS IS" basis, without warranty of any kind, and the
|
|
-- Initial Developer hereby disclaims all such warranties, including without
|
|
-- limitation, any warranties of merchantability, fitness for a particular
|
|
-- purpose or non-infringement. Please see the License for the specific terms
|
|
-- and conditions governing the rights and limitations under the License.
|
|
|
|
|
|
|
|
|
|
deferred class Method from Dynamic
|
|
|
|
inherits
|
|
|
|
TShared from MMgt
|
|
|
|
---Purpose: This class is a root class available for the
|
|
-- definition of methods and also for using them
|
|
-- throughout method instances. The logical name of
|
|
-- the method and the signature as a collection of
|
|
-- variables is stored in it.
|
|
|
|
uses
|
|
|
|
CString from Standard,
|
|
Boolean from Standard,
|
|
OStream from Standard,
|
|
ModeEnum from Dynamic,
|
|
Variable from Dynamic,
|
|
VariableNode from Dynamic,
|
|
Parameter from Dynamic,
|
|
AsciiString from TCollection
|
|
|
|
is
|
|
|
|
Initialize;
|
|
|
|
---Level: Internal
|
|
|
|
---Purpose: It is the constructor of this deferred class
|
|
|
|
Type(me) returns AsciiString from TCollection
|
|
|
|
---Level: Advanced
|
|
|
|
---Purpose: Returns the type of object which is the name of the
|
|
-- function definition.
|
|
|
|
is deferred;
|
|
|
|
FirstVariableNode(me) returns VariableNode from Dynamic
|
|
|
|
---Level: Advanced
|
|
|
|
---Purpose: Returns the first variable node of the Method which
|
|
-- contains a variable.
|
|
|
|
is static;
|
|
|
|
Variable(me ; avariable : CString from Standard) returns Boolean from Standard
|
|
|
|
---Level: Advanced
|
|
|
|
---Purpose: Returns true if there is a variable with <avariable>
|
|
-- as name, false otherwise.
|
|
|
|
is static;
|
|
|
|
Variable(me : mutable ; avariable : Variable from Dynamic)
|
|
|
|
---Level: Advanced
|
|
|
|
---Purpose: Adds another variable <avariable> to the sequence of
|
|
-- variable definitions.
|
|
|
|
is static;
|
|
|
|
Value(me ; aname : CString from Standard
|
|
; aparameter : out any Parameter from Dynamic
|
|
; amode : out ModeEnum from Dynamic) returns Boolean from Standard
|
|
|
|
---Level: Advanced
|
|
|
|
---Purpose: Returns True, if there is a variable <avariable>
|
|
-- previously stored in the instance <me> and there is
|
|
-- the corresponding parameter value in the output
|
|
-- argument <aparameter>, False otherwise.
|
|
|
|
is static;
|
|
|
|
Value(me ; aname : CString from Standard
|
|
; avariable : out any Variable from Dynamic) returns Boolean from Standard
|
|
|
|
---Level: Advanced
|
|
|
|
---Purpose: Returns True, if there is a variable named <aname>
|
|
-- previously stored in the instance of <me> and returns
|
|
-- the corresponding variable in the output argument
|
|
-- <avariable>, False otherwise.
|
|
|
|
is static;
|
|
|
|
Dump(me ; astream : in out OStream from Standard)
|
|
|
|
---Level: Internal
|
|
|
|
---Purpose: Useful for debugging.
|
|
|
|
is virtual;
|
|
|
|
fields
|
|
|
|
thefirstvariablenode : VariableNode from Dynamic;
|
|
|
|
end Method;
|