ConcatID.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
5 namespace armarx::meta::cfg
6 {
7  inline std::string ConcatID(const std::string& prefix, const std::string& suffix)
8  {
9  static const std::string delim{"_"};
10  return prefix.empty() ? suffix : prefix + delim + suffix;
11  }
12 }
13 
armarx::meta::cfg
Definition: PluginCfgStruct.h:31
armarx::meta::cfg::ConcatID
std::string ConcatID(const std::string &prefix, const std::string &suffix)
Definition: ConcatID.h:7