7 #ifndef __moa_Function_h__ 8 #define __moa_Function_h__ 14 #define FE_GS_EVAL_GLOBAL_VAR FALSE 21 #if FE_GS_EVAL_GLOBAL_VAR 22 extern std::map< std::string, t_moa_real > gs_eval_global_var;
25 class FE_DL_EXPORT GetGlobalVar :
26 virtual public FunctionI,
27 public Initialize<GetGlobalVar>
32 void initialize(
void);
33 virtual void eval(Record &a_return,
34 t_stdvector<WeakRecord> &a_argv);
35 virtual bool compile(sp<RecordGroup> a_rg, Record &a_return,
36 t_stdvector<WeakRecord> &a_argv,
39 virtual sp<Aggregate> &returnType(
void) {
return m_aggregate; }
40 sp<AsVariable> m_asVariable;
41 sp<Aggregate> m_aggregate;
55 void initialize(
void);
56 virtual void eval(
Record &a_return,
57 t_stdvector<WeakRecord> &a_argv);
59 t_stdvector<WeakRecord> &a_argv,
62 virtual sp<Aggregate> &returnType(
void) {
return m_aggregate; }
84 void initialize(
void);
85 virtual void eval(
Record &a_return,
86 t_stdvector<WeakRecord> &a_argv);
88 t_stdvector<WeakRecord> &a_argv,
91 virtual sp<Aggregate> &returnType(
void) {
return m_aggregate; }
94 RealAccessor m_a_real;
98 CanonicalStd m_canonical;
113 void initialize(
void);
114 virtual void eval(
Record &a_return,
115 t_stdvector<WeakRecord> &a_argv);
117 t_stdvector<WeakRecord> &a_argv,
120 virtual sp<Aggregate> &returnType(
void) {
return m_aggregate; }
123 RealAccessor m_a_real;
127 CanonicalStd m_canonical;
141 void initialize(
void);
142 virtual void eval(
Record &a_return,
143 t_stdvector<WeakRecord> &a_argv);
145 t_stdvector<WeakRecord> &a_argv,
149 {
return m_stringAggregate; }
158 class FE_DL_EXPORT EvaluatorStd :
159 virtual public Evaluator,
163 EvaluatorStd(
void) {}
164 virtual ~EvaluatorStd(
void);
165 void initialize(
void);
FunctionI to get real value attributes in src/data.
Definition: old/moa/Function.h:77
FunctionI to set real value attributes in src/data.
Definition: old/moa/Function.h:106
Interface to add functions to an Evaluator.
Definition: FunctionI.h:80
kernel
Definition: namespace.dox:3
Concatenate strings.
Definition: old/moa/Function.h:134
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Automatically reference-counted string container.
Definition: String.h:128
Reference to an instance of a Layout.
Definition: RecordSB.h:35
FunctionI to access real value attributes in src/data.
Definition: old/moa/Function.h:48