TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
utils.cc File Reference
#include "utils.h"
Include dependency graph for utils.cc:

Functions

void str2array (const char *str, double *arr)
 
void str2double (const char *in, double &num_)
 a locale-safe version of string-to-double
 
void split (const std::string &str, std::vector< std::string > &split_result, const std::string &delimiter)
 splits a string by a delimiter into a vector of strings.
 

Function Documentation

◆ split()

void split ( const std::string &  str,
std::vector< std::string > &  split_result,
const std::string &  delimiter 
)

splits a string by a delimiter into a vector of strings.

◆ str2array()

void str2array ( const char *  str,
double *  arr 
)

◆ str2double()

void str2double ( const char *  in,
double &  num_ 
)

a locale-safe version of string-to-double