31#include <SimoxUtility/algorithm/string.h>
48 std::vector<std::string>
split = simox::alg::split(
typeName,
"::");
52 std::vector<std::string>
56 if (first == std::string::npos)
64 return simox::alg::split(
typeName.substr(first, last - first),
",");
67 std::vector<std::string>
70 std::vector<std::string>
split = simox::alg::split(
typeName,
"::");
71 std::vector<std::string> namespaces(
split);
72 namespaces.pop_back();
#define ARMARX_CHECK_NOT_EQUAL(lhs, rhs)
This macro evaluates whether lhs is inequal (!=) rhs and if it turns out to be false it will throw an...
std::vector< std::string > split(const std::string &source, const std::string &splitBy, bool trimElements=false, bool removeEmptyElements=false)
A top-level struct for type-generation information.
std::string getNameWithoutNamespace() const
std::vector< std::string > getNamespaces() const
std::vector< std::string > getTemplates() const