Commit 7b1e8954 authored by Stefan Philips's avatar Stefan Philips
Browse files

[ADD] getDescription and getName for WDataSetRawHARDI

parent 296a2386
......@@ -22,6 +22,7 @@
//
//---------------------------------------------------------------------------
#include <string>
#include <vector>
#include "../common/WAssert.h"
......@@ -76,3 +77,13 @@ std::size_t WDataSetRawHARDI::getMeasures() const
{
return m_gradients->size();
}
const std::string WDataSetRawHARDI::getName() const
{
return "WDataSetRawHARDI";
}
const std::string WDataSetRawHARDI::getDescription() const
{
return "Contains HARDI measures.";
}
......@@ -25,6 +25,7 @@
#ifndef WDATASETRAWHARDI_H
#define WDATASETRAWHARDI_H
#include <string>
#include <vector>
#include "WDataSetSingle.h"
......@@ -85,6 +86,20 @@ public:
*/
std::size_t getMeasures() const;
/**
* Gets the name of this prototype.
*
* \return the name.
*/
virtual const std::string getName() const;
/**
* Gets the description for this prototype.
*
* \return the description
*/
virtual const std::string getDescription() const;
protected:
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment