Enhancement

- Began detailed implementation of commands and columns objects.
This commit is contained in:
Paul Beckingham 2011-04-24 19:11:56 -04:00
parent 1c23b28514
commit 120562a7e9
9 changed files with 148 additions and 21 deletions

View file

@ -45,11 +45,13 @@ Column* Column::factory (const std::string& name)
////////////////////////////////////////////////////////////////////////////////
Column::Column ()
: _name ("")
/*
, _minimum (0)
, _maximum (0)
, _wrap (false)
, _just (left)
, _sizing (minimal)
*/
{
}
@ -57,11 +59,13 @@ Column::Column ()
Column::Column (const Column& other)
{
_name = other._name;
/*
_minimum = other._minimum;
_maximum = other._maximum;
_wrap = other._wrap;
_just = other._just;
_sizing = other._sizing;
*/
}
////////////////////////////////////////////////////////////////////////////////
@ -70,11 +74,13 @@ Column& Column::operator= (const Column& other)
if (this != &other)
{
_name = other._name;
/*
_minimum = other._minimum;
_maximum = other._maximum;
_wrap = other._wrap;
_just = other._just;
_sizing = other._sizing;
*/
}
return *this;
@ -83,12 +89,12 @@ Column& Column::operator= (const Column& other)
////////////////////////////////////////////////////////////////////////////////
bool Column::operator== (const Column& other) const
{
return _name == other._name &&
return _name == other._name /*&&
_minimum == other._minimum &&
_maximum == other._maximum &&
_wrap == other._wrap &&
_just == other._just &&
_sizing == other._sizing;
_sizing == other._sizing*/;
}
////////////////////////////////////////////////////////////////////////////////