| souffle
    2.0.2-371-g6315b36
    | 
| Functions | |
| std::string | cleanJsonOut (double val) | 
| Convert doubles to NaN or scientific notation.  More... | |
| std::string | cleanJsonOut (std::string value) | 
| escape escapes and quotes, and remove surrounding quotes  More... | |
| std::string | cleanString (std::string val) | 
| Remove and \t characters, and \t sequence of two chars, and wrapping quotes. More... | |
| bool | file_exists (const std::string &name) | 
| std::string | formatMemory (uint64_t kbytes) | 
| std::string | formatNum (double amount) | 
| std::string | formatNum (int precision, int64_t amount) | 
| std::vector< std::vector< std::string > > | formatTable (Table table, int precision) | 
| std::string | formatTime (std::chrono::microseconds number) | 
| std::vector< std::string > | split (std::string toSplit, std::string delimiter) | 
| split on the delimiter  More... | |
| std::string | trimWhitespace (std::string str) | 
| Variables | |
| static const std::vector< std::string > | abbreviations | 
| 
 | inline | 
Convert doubles to NaN or scientific notation.
Definition at line 253 of file StringUtils.h.
References souffle::profile::ss.
| 
 | inline | 
escape escapes and quotes, and remove surrounding quotes
Definition at line 232 of file StringUtils.h.
Referenced by genJsonAtoms(), genJsonConfiguration(), souffle::profile::Tui::genJsonRelations(), souffle::genJsonRules(), souffle::genJsonUsage(), and TEST().
| 
 | inline | 
Remove 
 and \t characters, 
 and \t sequence of two chars, and wrapping quotes. 
Definition at line 206 of file StringUtils.h.
Referenced by genJsonAtoms(), and TEST().
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Definition at line 40 of file StringUtils.h.
References souffle::profile::ss.
Referenced by souffle::profile::ProgramRun::formatNum(), graphBySize(), TEST(), souffle::profile::Cell< double >::toString(), and souffle::profile::Cell< long >::toString().
| 
 | inline | 
| 
 | inline | 
Definition at line 145 of file StringUtils.h.
References souffle::profile::Table::getRows().
Referenced by souffle::profile::ProgramRun::formatTable(), id(), iterRel(), iterRul(), rel(), relRul(), rul(), setupTabCompletion(), usageRelation(), usageRule(), and verRul().

| 
 | inline | 
Definition at line 108 of file StringUtils.h.
Referenced by souffle::profile::ProgramRun::formatTime(), TEST(), souffle::profile::Cell< std::chrono::microseconds >::toString(), and usage().
| 
 | inline | 
split on the delimiter
Definition at line 162 of file StringUtils.h.
Referenced by souffle::genJsonRules(), souffle::genJsonUsage(), souffle::profile::Cli::parse(), souffle::profile::Tui::runProf(), TEST(), verGraph(), and verRul().
| 
 | inline | 
Definition at line 182 of file StringUtils.h.
References str.
Referenced by souffle::profile::Tui::runProf(), and TEST().
| 
 | static | 
Definition at line 37 of file StringUtils.h.
Referenced by formatNum().
 1.8.17
 1.8.17