diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-01 15:50:10 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-01 15:50:10 +0200 |
| commit | 683d7946798634c35df165bf40a97d78f947751c (patch) | |
| tree | 6dd80b60ed63ec92d7b6e7f291079493f64f219b /src/Model/Cell.cpp | |
| parent | 048f1e17b752d2af53db82c1861002283fc300fa (diff) | |
Add template support to Cell class
Diffstat (limited to 'src/Model/Cell.cpp')
| -rw-r--r-- | src/Model/Cell.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/Model/Cell.cpp b/src/Model/Cell.cpp deleted file mode 100644 index ba4bbbd..0000000 --- a/src/Model/Cell.cpp +++ /dev/null @@ -1,44 +0,0 @@ -#include "Cell.hpp" - -// Constructors - -Cell::Cell() -{ - m_value = "."; -} - -Cell::Cell(std::string value) -{ - m_value = value; -} - -// Destructor - -Cell::~Cell() -{ -} - -// Getters and setters - -bool Cell::isEmpty() -{ - return (m_value == "."); -} - -std::string Cell::getValue() -{ - return m_value; -} - -bool Cell::equals(Cell *otherCell) -{ - return (m_value == otherCell->getValue()); -} - -// Description - -std::string Cell::description() -{ - return m_value; -} - |
