Gazebo Fuel_tools

API Reference

10.0.0~pre2
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

namespace  gz
 
namespace  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.
 
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.
 

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