summaryrefslogtreecommitdiffstats
path: root/src/uscxml/messages/Data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/messages/Data.h')
-rw-r--r--src/uscxml/messages/Data.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/uscxml/messages/Data.h b/src/uscxml/messages/Data.h
index 44ce1d7..11b46fb 100644
--- a/src/uscxml/messages/Data.h
+++ b/src/uscxml/messages/Data.h
@@ -27,12 +27,11 @@
#include "uscxml/Common.h"
#include "uscxml/Convenience.h"
+#include "uscxml/messages/Blob.h"
#include <DOM/Document.hpp>
namespace uscxml {
-class Blob;
-
static int _dataIndentation = 1;
class USCXML_API Data {
@@ -220,6 +219,13 @@ public:
this->atom = atom;
}
+ Blob getBinary() {
+ return this->binary;
+ }
+ void setBinary(const Blob& binary) {
+ this->binary = binary;
+ }
+
Type getType() {
return type;
}
@@ -227,7 +233,6 @@ public:
this->type = type;
}
-
#ifdef SWIGIMPORTED
protected:
#endif
@@ -236,7 +241,7 @@ protected:
std::map<std::string, Data> compound;
std::list<Data> array;
std::string atom;
- boost::shared_ptr<Blob> binary;
+ Blob binary;
Type type;
protected: