Code Reorganization

- Changed the ::measure and ::render methods from pure virtual to
  virtual.
- Fixed bug where recur.indicator used the length of the indicator
  instead of the indicator.
- Implemented ColString.{h,cpp} to support generic Views based on
  strings, not tasks.
- Implemented newly virtual Column:: methods.
This commit is contained in:
Paul Beckingham 2011-05-08 17:06:02 -04:00
parent 00125c19d1
commit 590273d4e8
6 changed files with 181 additions and 4 deletions

View file

@ -51,9 +51,11 @@ public:
virtual void setLabel (const std::string& value) { _label = value; }
virtual void setReport (const std::string& value) { _report = value; }
virtual void measure (Task&, int&, int&) = 0;
virtual void measure (const std::string&, int&, int&);
virtual void measure (Task&, int&, int&);
virtual void renderHeader (std::vector <std::string>&, int, Color&);
virtual void render (std::vector <std::string>&, Task&, int, Color&) = 0;
virtual void render (std::vector <std::string>&, const std::string&, int, Color&);
virtual void render (std::vector <std::string>&, Task&, int, Color&);
protected:
std::string _type;