Class for stability works the complex classes. More...
Public Types | |
| typedef std::string | who_t |
Public Member Functions | |
| const About & | about () const |
| bool | hasErrors () const |
| bool | hasWarnings () const |
| std::string | errors () |
| Returns errors and (!) clears it. | |
| Safety & | pushError (const who_t &, const std::string &) |
| std::string | warnings () |
| Returns warnings and (!) clears it. | |
| Safety & | pushWarning (const who_t &, const std::string &) |
| Safety & | operator() () |
| Stops the script when errors or warnings are presents. More... | |
Static Public Member Functions | |
| static Safety * | instance () |
Protected Member Functions | |
| void | clearErrors () |
| void | clearWarnings () |
Static Protected Member Functions | |
| static std::string | now () |