diff options
author | David Robillard <d@drobilla.net> | 2007-04-05 17:06:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-04-05 17:06:53 +0000 |
commit | 4541e87aa843dd97c542f7c66fcbc0a16ffbcee5 (patch) | |
tree | b78b2bc374e62401df6e6e5d3d250d1845053ec4 /src/engine/Loader.cpp | |
parent | 0123cdeacc9acc7ca16fa8b0a9dee7a5d916b7df (diff) | |
download | machina-4541e87aa843dd97c542f7c66fcbc0a16ffbcee5.tar.gz machina-4541e87aa843dd97c542f7c66fcbc0a16ffbcee5.tar.bz2 machina-4541e87aa843dd97c542f7c66fcbc0a16ffbcee5.zip |
Code cleanups.
git-svn-id: http://svn.drobilla.net/lad/machina@399 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/Loader.cpp')
-rw-r--r-- | src/engine/Loader.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/engine/Loader.cpp b/src/engine/Loader.cpp index 57905ba..f9145c9 100644 --- a/src/engine/Loader.cpp +++ b/src/engine/Loader.cpp @@ -12,7 +12,7 @@ * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include <iostream> @@ -77,8 +77,6 @@ Loader::load(const Glib::ustring& uri) const Glib::ustring machine_uri = "<>"; - cout << "USER URI: " << uri << endl; - cout << "[Loader] Loading " << machine_uri << " from " << document_uri << endl; machine = SharedPtr<Machine>(new Machine()); @@ -102,8 +100,6 @@ Loader::load(const Glib::ustring& uri) const Glib::ustring& node_id = (*i)["initialNode"]; const Glib::ustring& duration = (*i)["duration"]; - cout << "Initial: " << node_id << " - " << duration << endl; - SharedPtr<Node> node(new Node(strtod(duration.c_str(), NULL), true)); machine->add_node(node); created.insert(std::make_pair(node_id.collate_key(), node)); @@ -125,8 +121,6 @@ Loader::load(const Glib::ustring& uri) const Glib::ustring& node_id = (*i)["node"]; const Glib::ustring& duration = (*i)["duration"]; - //cout << "Node: " << node_id << " - " << duration << endl; - if (created.find(node_id.collate_key()) == created.end()) { SharedPtr<Node> node(new Node(strtod(duration.c_str(), NULL), false)); machine->add_node(node); @@ -137,11 +131,6 @@ Loader::load(const Glib::ustring& uri) } - /*for (Created::iterator n = created.begin(); n != created.end(); ++n) { - cout << "NODE: " << n->first << endl; - }*/ - - /* Get note actions */ query = Raul::RDFQuery(*_namespaces, Glib::ustring( @@ -157,8 +146,6 @@ Loader::load(const Glib::ustring& uri) const Glib::ustring& node_id = (*i)["node"]; const Glib::ustring& note = (*i)["note"]; - //cerr << "NOTE: " << node_id << " = " << note << endl; - Created::iterator node_i = created.find(node_id); if (node_i != created.end()) { SharedPtr<Node> node = node_i->second; |