9 #ifndef LIBCARLA_TEST_CONTENT_FOLDER 10 # error Please define LIBCARLA_TEST_CONTENT_FOLDER. 22 LIBCARLA_TEST_CONTENT_FOLDER
"/OpenDrive/",
27 const std::string opendrive_folder = LIBCARLA_TEST_CONTENT_FOLDER
"/OpenDrive/";
28 std::ifstream file(opendrive_folder + filename);
29 return std::string{std::istreambuf_iterator<char>(file), std::istreambuf_iterator<char>()};
static std::string Load(const std::string &filename)
static std::vector< std::string > GetAvailableFiles()
static std::vector< std::string > ListFolder(const std::string &folder_path, const std::string &wildcard_pattern)
List (not recursively) regular files at folder_path matching wildcard_pattern.