MCPcopy Create free account
hub / github.com/SoarGroup/Soar / execute

Method execute

Core/SoarKernel/src/soar_db.h:167–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 //
166
167 inline exec_result execute(statement_action post_action = op_none)
168 {
169 exec_result return_val = err;
170
171 if (get_status() == ready)
172 {
173 if (query_timer)
174 {
175 query_timer->start();
176 }
177
178 return_val = _exec();
179 assert(return_val != err);
180
181 if (query_timer)
182 {
183 query_timer->stop();
184 }
185
186 // post-action
187 switch (post_action)
188 {
189 case op_reinit:
190 reinitialize();
191 break;
192
193 case op_clean:
194 clean();
195 break;
196
197 case op_none:
198 break;
199 }
200 }
201
202 return return_val;
203 }
204
205 inline void prepare()
206 {

Callers 15

DoStatsMethod · 0.45
epmem_temporal_hash_intFunction · 0.45
epmem_temporal_hash_strFunction · 0.45
epmem_reverse_hash_intFunction · 0.45
epmem_reverse_hash_floatFunction · 0.45
epmem_reverse_hash_strFunction · 0.45
epmem_reverse_hashFunction · 0.45
epmem_reverse_hash_printFunction · 0.45
epmem_get_variableFunction · 0.45
epmem_set_variableFunction · 0.45

Calls 2

startMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected