Return true if the string has "BACKEND::*" format where * signifies a wildcard
| 106 | |
| 107 | // Return true if the string has "BACKEND::*" format where * signifies a wildcard |
| 108 | bool has_backend_in_string(const std::string& fluid_string, std::size_t& i) { |
| 109 | i = fluid_string.find("::"); |
| 110 | return i != std::string::npos; |
| 111 | } |
| 112 | |
| 113 | void extract_backend(std::string fluid_string, std::string& backend, std::string& fluid) { |
| 114 | std::size_t i = 0; |