Finished integration of SerializableVeriant into InputStream
authorPhilip Rauwolf <rauwolf@itestra.de>
Wed, 16 Jan 2013 14:02:13 +0000 (15:02 +0100)
committerPhilip Rauwolf <rauwolf@itestra.de>
Wed, 16 Jan 2013 14:02:13 +0000 (15:02 +0100)
src/CommonAPI/DBus/DBusInputStream.cpp
src/CommonAPI/DBus/DBusInputStream.h

index afed173..2f39891 100644 (file)
@@ -203,6 +203,12 @@ void DBusInputStream::beginReadVectorOfSerializableStructs() {
     savedStreamPositions_.push(currentDataPosition_);
 }
 
+void DBusInputStream::beginReadVectorOfSerializableVariants() {
+    beginReadGenericVector();
+    alignToBoundary(8);
+    savedStreamPositions_.push(currentDataPosition_);
+}
+
 void DBusInputStream::beginReadVectorOfVectors() {
     beginReadGenericVector();
     savedStreamPositions_.push(currentDataPosition_);
index 1c54aca..cdb22ff 100644 (file)
@@ -85,6 +85,7 @@ class DBusInputStream: public InputStream {
     virtual void beginReadByteBufferVector();
     virtual void beginReadVersionVector();
     virtual void beginReadVectorOfSerializableStructs();
+    virtual void beginReadVectorOfSerializableVariants();
     virtual void beginReadVectorOfVectors();
     virtual void beginReadVectorOfMaps();