maliput_osm
utilities Namespace Reference

Classes

class  IdGen
 Functor for generating unique numerical ids. More...
 

Functions

std::string FindOSMResource (const std::string &file_name)
 TODO: Use ament_index to find the package's resources. More...
 

Function Documentation

◆ FindOSMResource()

std::string FindOSMResource ( const std::string &  file_name)

TODO: Use ament_index to find the package's resources.

Returns
file_name 's path located at MALIPUT_OSM_RESOURCE_ROOT env path. If not located, an empty string is returned.
Exceptions
maliput::common::assertion_errorWhen file_name is an absolute path.