Skip to content
Snippets Groups Projects
Commit afbb62aa authored by Sacha Percot-Tétu's avatar Sacha Percot-Tétu
Browse files

Added the class Parameter

Parameter is used to represents any type-based Parameter.
parent d7508ae8
No related branches found
No related tags found
No related merge requests found
#ifndef EIIMAGE_PARAMETER_H
#define EIIMAGE_PARAMETER_H
#include <string>
#include "Input.h"
class Operation;
template<typename T>
class Parameter : public Input {
public:
Parameter(std::string name, T* ptr = NULL) : _ptr(ptr), _name(name) {}
virtual Parameter<T>* clone() const = 0;
protected:
T* _ptr;
std::string _name;
friend class Operation;
};
#endif //!EIIMAGE_PARAMETER_H
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment