normalize_statement.h
Go to the documentation of this file.
1 #ifndef cetlib_sqlite_detail_normalize_statement_h
2 #define cetlib_sqlite_detail_normalize_statement_h
3 
4 // =======================================================
5 //
6 // normalize_statement
7 //
8 // This facility is used to compare normalize the SQLite statements.
9 // It does the following:
10 // - Remove spaces just inside of parentheses
11 // - Replaces multiple spaces with 1 space
12 // - Ensures no spaces after commas
13 // =======================================================
14 
15 #include <string>
16 
17 namespace cet::sqlite::detail {
18  void normalize_statement(std::string& to_replace);
20 }
21 
22 #endif /* cetlib_sqlite_detail_normalize_statement_h */
23 
24 // Local Variables:
25 // mode: c++
26 // End:
std::string string
Definition: nybbler.cc:12
void normalize_statement(std::string &to_replace)
std::string normalized_statement(std::string to_replace)