diff options
Diffstat (limited to 'NT/src/rotor.cpp')
| -rw-r--r-- | NT/src/rotor.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/NT/src/rotor.cpp b/NT/src/rotor.cpp index 8fdec07..d280029 100644 --- a/NT/src/rotor.cpp +++ b/NT/src/rotor.cpp @@ -1,8 +1,9 @@ #include <stdio.h> #include "rotor.h" -#include "nodes.h" #include "factory.h" +#include "nodes.h" +#include "graph.h" using namespace std; using namespace Rotor; @@ -81,6 +82,9 @@ int main(){ delete m; delete p; */ +Rotor::Graph g; +cerr<<(g.load_file("testgraph.json","./")?"loaded ":"could not load ")<<"testgraph.json"<<endl; +/* Json::Value js; f.list_node("time",js); Json::StyledWriter writer; @@ -89,5 +93,6 @@ f.list_node("multiply",js); cerr<<writer.write(js)<<endl; f.list_node("print",js); cerr<<writer.write(js)<<endl; +*/ } |
