diff options
author | David Robillard <d@drobilla.net> | 2008-08-17 20:25:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-17 20:25:14 +0000 |
commit | 9938fac4b15f8939c9056c16a3a7662575af52e1 (patch) | |
tree | 7d636d1e5598c618015699eb95f33d0fdbe4194d /src/libs/serialisation | |
parent | 9dadfb83f9ce69a870362824bc6a3cad371385af (diff) | |
download | ingen-9938fac4b15f8939c9056c16a3a7662575af52e1.tar.gz ingen-9938fac4b15f8939c9056c16a3a7662575af52e1.tar.bz2 ingen-9938fac4b15f8939c9056c16a3a7662575af52e1.zip |
Select pasted objects.
Clean up parser debug output.
git-svn-id: http://svn.drobilla.net/lad/ingen@1425 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/serialisation')
-rw-r--r-- | src/libs/serialisation/Parser.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/libs/serialisation/Parser.cpp b/src/libs/serialisation/Parser.cpp index 36086ea1..a9228f50 100644 --- a/src/libs/serialisation/Parser.cpp +++ b/src/libs/serialisation/Parser.cpp @@ -135,7 +135,6 @@ Parser::parse( for (Redland::Query::Results::iterator i = results.begin(); i != results.end(); ++i) { const Redland::Node subject = (object_uri ? subject_uri : (*i)["subject"]); const Redland::Node rdf_class = (*i)["class"]; - cout << subject.to_c_string() << " :: " << rdf_class.to_c_string() << endl; if (rdf_class == patch_class || rdf_class == node_class || rdf_class == port_class) { Path path = parse_path(world, model, base_uri, subject.to_c_string(), parent, symbol); if (rdf_class == patch_class) { @@ -146,7 +145,7 @@ Parser::parse( ret = parse_node(world, target, model, base_uri, Glib::ustring("<") + subject.to_c_string() + ">", path, data); } else if (rdf_class == port_class) { - cout << "PORT" << endl; + cout << "*** TODO: PARSE PORT" << endl; } if (ret == false) { cerr << "Failed to parse object " << object_uri << endl; @@ -434,12 +433,6 @@ Parser::parse_node( return false; } - for (Redland::Query::Results::iterator i = results.begin(); i != results.end(); ++i) { - const Redland::Node& s_node = (*i)["s"]; - const Redland::Node& plug_node = (*i)["plug"]; - cout << s_node.to_c_string() << " :: " << plug_node.to_c_string() << endl; - } - const Redland::Node& plugin_node = (*results.begin())["plug"]; if (plugin_node.type() != Redland::Node::RESOURCE) { cerr << "[Parser] ERROR: node's ingen:plugin property is not a resource" << endl; |