Function getPath

Function Documentation

void getPath(const std::string filePath, std::string &output)

Get path of the file main folder from the file path.

Parameters:
  • filePath – file path (e.g. “templates/skills/first_template_skill/src/FirstTemplateSkillSM.scxml”)

  • output – string of the path (e.g. “templates/skills/first_template_skill/”)