#ifndef DEF_Utils #define DEF_Utils #include #include #define PRINT_VAR(v); std::cout << #v << "\t = "; std::cout << (v) << "\n"; #define PRINT_VEC(v); std::cout << #v << "\t =\n"; for(unsigned int i_PRINT_VEC = 0 ; i_PRINT_VEC < (v).size() ; i_PRINT_VEC++) { std::cout << (v)[i_PRINT_VEC] << "\n"; } /// Returns true if the string str contains the character c. bool StringContains(const std::string & str, char c); /// Returns true if the string str starts with beginning bool StringStartsWith(const std::string & str, const std::string & beginning); #endif