blob: 687ece10c90890ac5bfe9563c8ec32ba59d0d3c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// 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();
}
|