ifcparse: unify private member variables name to use trailing underscore

This commit is contained in:
Dirk Olbrich
2023-11-06 20:38:19 +01:00
committed by Thomas Krijnen
parent 8b145248c6
commit eea9a14722
20 changed files with 324 additions and 323 deletions
+14 -14
View File
@@ -47,24 +47,24 @@ class IFC_PARSE_API Logger {
private:
// To both stream variants need to exist at runtime or should this be a
// template argument of Logger or controlled using preprocessor directives?
static std::ostream* log1;
static std::ostream* log2;
static std::ostream* log1_;
static std::ostream* log2_;
static std::wostream* wlog1;
static std::wostream* wlog2;
static std::wostream* wlog1_;
static std::wostream* wlog2_;
static std::stringstream log_stream;
static std::stringstream log_stream_;
static Severity verbosity;
static Format format;
static boost::optional<const IfcUtil::IfcBaseClass*> current_product;
static Severity max_severity;
static Severity verbosity_;
static Format format_;
static boost::optional<IfcUtil::IfcBaseClass*> current_product_;
static Severity max_severity_;
static boost::optional<long long> first_timepoint;
static std::map<std::string, double> performance_statistics;
static std::map<std::string, double> performance_signal_start;
static boost::optional<long long> first_timepoint_;
static std::map<std::string, double> performance_statistics_;
static std::map<std::string, double> performance_signal_start_;
static bool print_perf_stats_on_element;
static bool print_perf_stats_on_element_;
public:
static void SetProduct(boost::optional<const IfcUtil::IfcBaseClass*> product);
@@ -101,7 +101,7 @@ class IFC_PARSE_API Logger {
static void ProgressBar(int progress);
static std::string GetLog();
static void PrintPerformanceStats();
static void PrintPerformanceStatsOnElement(bool b) { print_perf_stats_on_element = b; }
static void PrintPerformanceStatsOnElement(bool b) { print_perf_stats_on_element_ = b; }
};
#define PERF(x) \