| 51 | out_{out} {} |
| 52 | |
| 53 | void header() { |
| 54 | std::string line(columnSize_, '='); |
| 55 | out_ << indent_ << line; |
| 56 | for (int i = 1; i < numScalarColumns_; i++) { |
| 57 | out_ << " " << line; |
| 58 | } |
| 59 | out_ << " == " << line << " == " << line << std::endl; |
| 60 | |
| 61 | auto scalarFunctionsColumnWidth = |
| 62 | columnSize_ * numScalarColumns_ + 2 * (numScalarColumns_ - 1); |
| 63 | |
| 64 | out_ << indent_ << std::left << std::setw(scalarFunctionsColumnWidth) |
| 65 | << "Scalar Functions" |
| 66 | << " " << std::setw(columnSize_) << "Aggregate Functions" |
| 67 | << " " |
| 68 | << "Window Functions" << std::endl; |
| 69 | out_ << indent_ << std::string(scalarFunctionsColumnWidth, '=') |
| 70 | << " == " << line << " == " << line << std::endl; |
| 71 | } |
| 72 | |
| 73 | void startRow() { |
| 74 | out_ << indent_; |
no outgoing calls
no test coverage detected