| 1280 | } |
| 1281 | |
| 1282 | bool AgentSML::StopCaptureInput() |
| 1283 | { |
| 1284 | if (!CaptureQuery()) |
| 1285 | { |
| 1286 | return false; |
| 1287 | } |
| 1288 | if (ReplayQuery()) |
| 1289 | { |
| 1290 | return false; |
| 1291 | } |
| 1292 | |
| 1293 | bool good = true; |
| 1294 | if (!m_CaptureAutoflush) |
| 1295 | { |
| 1296 | m_CaptureAutoflush = true; |
| 1297 | while (good && !m_CapturedActions.empty()) |
| 1298 | { |
| 1299 | CaptureInputWME(m_CapturedActions.front()); |
| 1300 | m_CapturedActions.pop(); |
| 1301 | } |
| 1302 | } |
| 1303 | |
| 1304 | delete m_pCaptureFile; |
| 1305 | m_pCaptureFile = 0; |
| 1306 | return good; |
| 1307 | } |
| 1308 | |
| 1309 | std::string::size_type AgentSML::findDelimReplaceEscape(std::string& line, std::string::size_type lpos) |
| 1310 | { |
no test coverage detected