Function _resolve_prefix
Defined in File namespace_prefix.hpp
Function Documentation
-
std::string _resolve_prefix(const std::string &name, const std::string &prefix)
Returns
name
stripped ofprefix
if exists, if not return “”.- Parameters:
name – [in] string that will be stripped from prefix
prefix – [in] prefix to be stripped
- Returns:
name stripped of prefix, or
- Returns:
“” if name doesn’t start with prefix