Debian Codegraph @

yo/classtemplates/examples/table/tabletype/setwidth.cc

raw
1 #include "tabletype.ih"
2
3 void TableType::setWidth(WidthType type)
4 {
5 d_widthFun =
6 ((d_widthType = type) == EQUALWIDTH) ?
7 &TableType::maxWidth
8 :
9 &TableType::columnWidth;
10
11 d_tableSupport.setParam(d_widthType == EQUALWIDTH ? d_maxWidth : 0);
12 }