46 void enablePrint(
bool b);
47 bool isPrinted()
const;
50 uint getMaxColumnsCount();
51 void setMaxColumns(uint maxColumnsNumber);
53 bool isPrintedOnDataLevel(uint dataLevel)
const
55 return dataLevel_ & dataLevel;
58 bool isPrintedOnFileLevel(uint fileLevel)
const
60 return fileLevel_ & fileLevel;
65 bool to_be_printed_ =
true;
70 uint maxNumberColumns_ = 0;
107 bool exists(std::string name);
109 void setPrintStatus(std::string varname,
bool printStatus);
110 void setPrintStatus(
unsigned int index,
bool printStatus);
112 void setMaxColumns(std::string varname, uint maxColumnsNumber);
113 std::string name_of(
unsigned int index)
const;
115 void prepareForSimulation(
bool isThematicTrimmingEnabled,
116 const std::vector<std::string>& excluded_vars = {});
119 bool isPrinted(std::string var_name)
const;
121 uint getTotalMaxColumnsCount()
const
123 return totalMaxColumnsCount_;
126 uint getNbSelectedZonalVars()
const
128 return numberSelectedAreaVariables;
131 uint getNbSelectedLinkVars()
const
133 return numberSelectedLinkVariables;
136 void computeMaxColumnsCountInReports();
137 void setAllPrintStatusesTo(
bool b);
140 unsigned int numberOfEnabledVariables();
141 std::vector<std::string> namesOfEnabledVariables();
142 std::vector<std::string> namesOfDisabledVariables();
145 std::vector<std::string> namesOfVariablesWithPrintStatus(
bool printStatus);
146 void countSelectedAreaVars();
147 void countSelectedLinkVars();
151 std::map<std::string, VariablePrintInfo> allVarsPrintInfo;
152 std::map<unsigned int, std::string> index_to_name;
156 uint totalMaxColumnsCount_ = 0;
159 uint numberSelectedAreaVariables = 0;
161 uint numberSelectedLinkVariables = 0;