diff options
Diffstat (limited to 'ingen/serialisation')
-rw-r--r-- | ingen/serialisation/Parser.hpp | 4 | ||||
-rw-r--r-- | ingen/serialisation/Serialiser.hpp | 20 |
2 files changed, 12 insertions, 12 deletions
diff --git a/ingen/serialisation/Parser.hpp b/ingen/serialisation/Parser.hpp index 666d9acb..6ece6965 100644 --- a/ingen/serialisation/Parser.hpp +++ b/ingen/serialisation/Parser.hpp @@ -27,7 +27,7 @@ #include <boost/optional.hpp> #include <glibmm/ustring.h> -#include "ingen/GraphObject.hpp" +#include "ingen/Node.hpp" #include "raul/Path.hpp" namespace Ingen { @@ -48,7 +48,7 @@ public: virtual ~Parser() {} - typedef GraphObject::Properties Properties; + typedef Node::Properties Properties; virtual bool parse_file( World* world, diff --git a/ingen/serialisation/Serialiser.hpp b/ingen/serialisation/Serialiser.hpp index ae18693e..a694e800 100644 --- a/ingen/serialisation/Serialiser.hpp +++ b/ingen/serialisation/Serialiser.hpp @@ -25,12 +25,12 @@ #include "sord/sordmm.hpp" -#include "ingen/GraphObject.hpp" +#include "ingen/Node.hpp" namespace Ingen { class Edge; -class GraphObject; +class Node; class Store; class World; @@ -47,21 +47,21 @@ public: explicit Serialiser(World& world); virtual ~Serialiser(); - typedef GraphObject::Properties Properties; + typedef Node::Properties Properties; - virtual void to_file(SharedPtr<const GraphObject> object, - const std::string& filename); + virtual void to_file(SharedPtr<const Node> object, + const std::string& filename); - virtual void write_bundle(SharedPtr<const GraphObject> graph, - const std::string& path); + virtual void write_bundle(SharedPtr<const Node> graph, + const std::string& path); - virtual std::string to_string(SharedPtr<const GraphObject> object, - const std::string& base_uri); + virtual std::string to_string(SharedPtr<const Node> object, + const std::string& base_uri); virtual void start_to_string(const Raul::Path& root, const std::string& base_uri); - virtual void serialise(SharedPtr<const GraphObject> object) + virtual void serialise(SharedPtr<const Node> object) throw (std::logic_error); virtual void serialise_edge(const Sord::Node& parent, |