Gazebo Fuel_tools

API Reference

9.1.0
Helpers.hh File Reference
#include <string>
#include <gz/common/URI.hh>
#include <gz/fuel_tools/Export.hh>

Go to the source code of this file.

Namespaces

 gz
 
 gz::fuel_tools
 

Macros

#define gz_sprintf   std::sprintf
 
#define gz_strcat   std::strcat
 
#define gz_strcpy   std::strcpy
 
#define gz_strdup   strdup
 

Functions

std::string sanitizeAuthority (const std::string &_uriAuthority)
 Convert the authority portion of a URI to a string suitable to be used as a path on disk for all platforms. More...
 
std::string uriToPath (const gz::common::URI &_uri)
 Convert a URI to a string suitable to use as a path on disk. It strips the scheme and authority's // prefix. More...
 

Macro Definition Documentation

◆ gz_sprintf

#define gz_sprintf   std::sprintf

◆ gz_strcat

#define gz_strcat   std::strcat

◆ gz_strcpy

#define gz_strcpy   std::strcpy

◆ gz_strdup

#define gz_strdup   strdup