summaryrefslogtreecommitdiffstats
path: root/src/libs/client/Serializer.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-10-04 21:45:20 +0000
committerDavid Robillard <d@drobilla.net>2006-10-04 21:45:20 +0000
commit30cb85c307b4c1273791721a782337742ade222c (patch)
tree020932d6f50ebbcd813c58f6f23e85a293587665 /src/libs/client/Serializer.h
parent32261ba465be203f973a0e126672b8d7188ba327 (diff)
downloadingen-30cb85c307b4c1273791721a782337742ade222c.tar.gz
ingen-30cb85c307b4c1273791721a782337742ade222c.tar.bz2
ingen-30cb85c307b4c1273791721a782337742ade222c.zip
Moved generic utility stuff to new library "raul".
git-svn-id: http://svn.drobilla.net/lad/ingen@156 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/Serializer.h')
-rw-r--r--src/libs/client/Serializer.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libs/client/Serializer.h b/src/libs/client/Serializer.h
index 1af18de7..15c49101 100644
--- a/src/libs/client/Serializer.h
+++ b/src/libs/client/Serializer.h
@@ -23,9 +23,9 @@
#include <stdexcept>
#include <raptor.h>
#include <cassert>
-#include "util/CountedPtr.h"
-#include "util/Path.h"
-#include "util/Atom.h"
+#include "raul/SharedPtr.h"
+#include "raul/Path.h"
+#include "raul/Atom.h"
#include "ObjectModel.h"
using std::string;
@@ -53,7 +53,7 @@ class ModelEngineInterface;
class Serializer
{
public:
- Serializer(CountedPtr<ModelEngineInterface> engine);
+ Serializer(SharedPtr<ModelEngineInterface> engine);
~Serializer();
void path(const string& path) { _patch_search_path = path; }
@@ -70,19 +70,19 @@ public:
void start_to_filename(const string& filename) throw (std::logic_error);
void start_to_string() throw (std::logic_error);
- void serialize(CountedPtr<ObjectModel> object) throw (std::logic_error);
- void serialize_connection(CountedPtr<ConnectionModel> c) throw (std::logic_error);
+ void serialize(SharedPtr<ObjectModel> object) throw (std::logic_error);
+ void serialize_connection(SharedPtr<ConnectionModel> c) throw (std::logic_error);
string finish() throw (std::logic_error);
private:
// Model -> RDF
- void serialize_patch(CountedPtr<PatchModel> p);
+ void serialize_patch(SharedPtr<PatchModel> p);
- void serialize_node(CountedPtr<NodeModel> n, const string ns_prefix="");
+ void serialize_node(SharedPtr<NodeModel> n, const string ns_prefix="");
- void serialize_port(CountedPtr<PortModel> p, const string ns_prefix="");
+ void serialize_port(SharedPtr<PortModel> p, const string ns_prefix="");
@@ -110,7 +110,7 @@ private:
unsigned char* _string_output;
string _patch_search_path;
map<string, string> _prefixes;
- CountedPtr<ModelEngineInterface> _engine;
+ SharedPtr<ModelEngineInterface> _engine;
};