Row::Row()
- : pos_(0), end_(0), separator(0), hfill(0), label_hfill(0), x(0)
+ : changed_(false), crc_(0), pos_(0), end_(0), separator(0), hfill(0),
+ label_hfill(0), x(0)
{}
Row::Row(pos_type pos)
- : pos_(pos), end_(0), separator(0), hfill(0), label_hfill(0), x(0)
+ : changed_(false), crc_(0), pos_(pos), end_(0), separator(0), hfill(0),
+ label_hfill(0), x(0)
{}
-void Row::pos(pos_type p)
+void Row::setCrc(size_type crc)
{
- pos_ = p;
+ changed_ |= crc != crc_;
+ crc_ = crc;
}
-pos_type Row::pos() const
+void Row::setDimension(Dimension const & dim)
{
- return pos_;
+ changed_ |= dim != dim_;
+ dim_ = dim;
}
-void Row::endpos(pos_type p)
+void Row::pos(pos_type p)
{
- end_ = p;
+ pos_ = p;
}
-pos_type Row::endpos() const
+void Row::endpos(pos_type p)
{
- return end_;
+ end_ = p;
}