mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-01 00:21:51 +08:00
41 lines
1.2 KiB
C++
Executable File
41 lines
1.2 KiB
C++
Executable File
// File: Dynamic_CompiledMethod.cxx
|
|
// Created: Thu Jan 28 15:07:26 1993
|
|
// Author: Gilles DEBARBOUILLE
|
|
// <gde@bravox>
|
|
|
|
|
|
#include <Dynamic_CompiledMethod.ixx>
|
|
#include <TCollection_AsciiString.hxx>
|
|
|
|
//=======================================================================
|
|
//function : Dynamic_CompiledMethod
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
Dynamic_CompiledMethod::Dynamic_CompiledMethod(const Standard_CString aname,
|
|
const Standard_CString afunction)
|
|
: Dynamic_MethodDefinition(aname)
|
|
{
|
|
thefunction = new TCollection_HAsciiString(afunction);
|
|
}
|
|
|
|
//=======================================================================
|
|
//function : Function
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
void Dynamic_CompiledMethod::Function(const Standard_CString afunction)
|
|
{
|
|
thefunction = new TCollection_HAsciiString(afunction);
|
|
}
|
|
|
|
//=======================================================================
|
|
//function : Function
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
TCollection_AsciiString Dynamic_CompiledMethod::Function() const
|
|
{
|
|
return thefunction->String();
|
|
}
|