From 1c7064006d4283ffbfa64febea397e68df8e2b54 Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Sun, 7 Apr 2013 21:37:36 +0200 Subject: Reformatted and removed superfluous std::couts --- src/uscxml/Interpreter.cpp | 14 +++++++------- src/uscxml/Interpreter.h | 6 +++--- src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp | 2 +- src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp index 8c0b660..33d3b03 100644 --- a/src/uscxml/Interpreter.cpp +++ b/src/uscxml/Interpreter.cpp @@ -518,12 +518,12 @@ void InterpreterImpl::normalize(Arabica::DOM::Element& scxml) { } void InterpreterImpl::receiveInternal(const Event& event) { - std::cout << "receiveInternal: " << event.name << std::endl; +// std::cout << "receiveInternal: " << event.name << std::endl; _internalQueue.push_back(event); } void InterpreterImpl::receive(const Event& event, bool toFront) { - std::cout << "receive: " << event.name << std::endl; +// std::cout << "receive: " << event.name << std::endl; if (toFront) { _externalQueue.push_front(event); } else { @@ -557,9 +557,9 @@ void InterpreterImpl::internalDoneSend(const Arabica::DOM::Node& st } void InterpreterImpl::processContentElement(const Arabica::DOM::Node& content, - Arabica::DOM::Document& dom, - std::string& text, - Data& data) { + Arabica::DOM::Document& dom, + std::string& text, + Data& data) { try { std::string contentToProcess; if (HAS_ATTR(content, "expr")) { @@ -587,7 +587,7 @@ void InterpreterImpl::processContentElement(const Arabica::DOM::Node domFactory = Arabica::SimpleDOM::DOMImplementation::getDOMImplementation(); @@ -1280,7 +1280,7 @@ void InterpreterImpl::executeContent(const Arabica::DOM::Node& cont } void InterpreterImpl::returnDoneEvent(const Arabica::DOM::Node& state) { - std::cout << state << std::endl; +// std::cout << state << std::endl; if (_parentQueue != NULL) { Event done; done.name = "done.invoke." + _sessionId; diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h index 90540a7..141d630 100644 --- a/src/uscxml/Interpreter.h +++ b/src/uscxml/Interpreter.h @@ -268,9 +268,9 @@ protected: void executeContent(const Arabica::XPath::NodeSet& content, bool rethrow = false); void processContentElement(const Arabica::DOM::Node& element, - Arabica::DOM::Document& dom, - std::string& text, - Data& data); + Arabica::DOM::Document& dom, + std::string& text, + Data& data); void processParamChilds(const Arabica::DOM::Node& element, std::multimap& params); void send(const Arabica::DOM::Node& element); diff --git a/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp b/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp index fff3f9b..0146a31 100644 --- a/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp +++ b/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp @@ -99,7 +99,7 @@ v8::Handle V8DataModel::getIOProcessors(v8::Local propert std::map ioProcessors = dataModel->_interpreter->getIOProcessors(); std::map::const_iterator ioProcIter = ioProcessors.begin(); while(ioProcIter != ioProcessors.end()) { - std::cout << ioProcIter->first << std::endl; +// std::cout << ioProcIter->first << std::endl; dataModel->_ioProcessors->Set(v8::String::New(ioProcIter->first.c_str()), dataModel->getDataAsValue(ioProcIter->second.getDataModelVariables())); ioProcIter++; diff --git a/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp b/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp index 786c196..1c7d8a5 100644 --- a/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp +++ b/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp @@ -37,7 +37,7 @@ Data MilesSessionInvoker::getDataModelVariables() { } void MilesSessionInvoker::send(const SendRequest& req) { - std::cout << req; +// std::cout << req; if (boost::iequals(req.name, "disconnect")) { std::string reflectorIP = req.params.find("reflectorip")->second; std::string problemName = req.params.find("problemname")->second; -- cgit v0.12