Index: OpenIGTLink-2.0/Source/igtlNDArrayMessage.h
===================================================================
--- OpenIGTLink-2.0.orig/Source/igtlNDArrayMessage.h
+++ OpenIGTLink-2.0/Source/igtlNDArrayMessage.h
@@ -86,29 +86,6 @@ private:
template <typename T>
class IGTLCommon_EXPORT Array : public ArrayBase
{
-public:
- /// Sets a value of the element specified by 'index'
- int SetValue(IndexType index, T value)
- {
- if (Get1DIndex(index) <= GetNumberOfElements()) {
- * (T *) this->m_ByteArray[Get1DIndex(index) * sizeof(T)] = value;
- return 1;
- } else {
- return 0;
- }
- }
-
- /// Gets a value of the element specified by 'index'
- int GetValue(IndexType index, T & value)
- {
- if (Get1DIndex(index) <= GetNumberOfElements()) {
- value = * (T *) this->m_ByteArray[Get1DIndex(index) * sizeof(T)];
- return 1;
- } else {
- return 0;
- }
- }
-
protected:
/// Gets the size of elements (e.g. 1 byte in case of 8-bit integer)