diff options
author | David Robillard <d@drobilla.net> | 2006-12-09 19:08:03 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-12-09 19:08:03 +0000 |
commit | c9fdc9d94f3d6081e36e98f5ae6cc03f361e8057 (patch) | |
tree | 8cfe823900c227341a051c0f96d9783dbbb6e64e /src/libs/client/RDFQuery.cpp | |
parent | d5e8ce8127784fc67953ab3b6247e911be697cc2 (diff) | |
download | ingen-c9fdc9d94f3d6081e36e98f5ae6cc03f361e8057.tar.gz ingen-c9fdc9d94f3d6081e36e98f5ae6cc03f361e8057.tar.bz2 ingen-c9fdc9d94f3d6081e36e98f5ae6cc03f361e8057.zip |
More loading progress (node positions restore).
git-svn-id: http://svn.drobilla.net/lad/ingen@215 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/RDFQuery.cpp')
-rw-r--r-- | src/libs/client/RDFQuery.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/client/RDFQuery.cpp b/src/libs/client/RDFQuery.cpp index 8e08848a..178e2eba 100644 --- a/src/libs/client/RDFQuery.cpp +++ b/src/libs/client/RDFQuery.cpp @@ -19,6 +19,9 @@ #include <rasqal.h> #include "RDFQuery.h" +#include <iostream> +using std::cerr; using std::endl; + namespace Ingen { namespace Client { @@ -43,10 +46,9 @@ RDFQuery::run(const Glib::ustring filename) for (int i=0; i < rasqal_query_results_get_bindings_count(results); i++) { const unsigned char* rname = rasqal_query_results_get_binding_name(results, i); rasqal_literal* rvalue = rasqal_query_results_get_binding_value(results, i); - Glib::ustring name((const char*)rname); + Glib::ustring value((const char*)rasqal_literal_as_string(rvalue)); - bindings.insert(std::make_pair(name, value)); } |