- Added feature #800, adding a new command 'columns' that lists all the columns
  available for custom reports, and includes their formatting options (thanks
  to T. Charles Yun).
This commit is contained in:
Paul Beckingham 2011-07-16 13:08:23 -04:00
parent 3a5370ddf1
commit 27a04b29f5
28 changed files with 372 additions and 64 deletions

View file

@ -45,9 +45,11 @@ public:
bool operator== (const Column&) const; // TODO Is this necessary?
~Column ();
std::string getStyle () { return _style; }
std::string getLabel () { return _label; }
std::string type () const { return _type; }
std::string style () const { return _style; }
std::string label () const { return _label; }
std::string type () const { return _type; }
std::vector <std::string> styles () const { return _styles; }
std::vector <std::string> examples () const { return _examples; }
virtual void setStyle (const std::string& value) { _style = value; }
virtual void setLabel (const std::string& value) { _label = value; }
@ -66,6 +68,8 @@ protected:
std::string _style;
std::string _label;
std::string _report;
std::vector <std::string> _styles;
std::vector <std::string> _examples;
};
#endif