Index: /trunk/FACT++/src/Dim.h
===================================================================
--- /trunk/FACT++/src/Dim.h	(revision 16776)
+++ /trunk/FACT++/src/Dim.h	(revision 16777)
@@ -5,4 +5,5 @@
 
 #include <string>
+#include <vector>
 
 #include "dic.hxx"
@@ -66,4 +67,10 @@
     }
 
+    template<typename T>
+        inline bool SendCommand(const std::string &command, const std::vector<T> &v)
+    {
+        return DimClient::sendCommand(command.c_str(), const_cast<char*>(v.data()), v.size()*sizeof(T));
+    }
+
     inline bool SendCommand(const std::string &command, const void *d, size_t s)
     {
@@ -85,4 +92,10 @@
     }
 
+    template<typename T>
+        inline void SendCommandNB(const std::string &command, const std::vector<T> &v)
+    {
+        DimClient::sendCommandNB(command.c_str(), const_cast<T*>(v.data()), v.size()*sizeof(T));
+    }
+
     inline void SendCommandNB(const std::string &command, const void *d, size_t s)
     {
