Program Listing for File file-explorer.hpp
↰ Return to documentation for file (include/pinocchio/utils/file-explorer.hpp
)
//
// Copyright (c) 2016-2020 CNRS INRIA
//
#ifndef __pinocchio_utils_file_explorer_hpp__
#define __pinocchio_utils_file_explorer_hpp__
#include <string>
#include <vector>
#include "pinocchio/config.hpp"
namespace pinocchio
{
PINOCCHIO_DLLAPI std::vector<std::string>
extractPathFromEnvVar(const std::string & env_var_name,
#ifdef _WIN32
const std::string & delimiter = ";"
#else
const std::string & delimiter = ":"
#endif
);
PINOCCHIO_DLLAPI void
appendSuffixToPaths(std::vector<std::string> & list_of_paths,
const std::string & suffix);
PINOCCHIO_DLLAPI void
extractPathFromEnvVar(const std::string & env_var_name,
std::vector<std::string> & list_of_paths,
#ifdef _WIN32
const std::string & delimiter = ";"
#else
const std::string & delimiter = ":"
#endif
);
PINOCCHIO_DLLAPI std::vector<std::string> rosPaths();
}
#endif // __pinocchio_utils_file_explorer_hpp__