Classes | Namespaces | Macros | Typedefs | Functions | Variables
Types.hh File Reference
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include <sdf/sdf_config.h>
#include "sdf/system_util.hh"
#include "sdf/Error.hh"
Include dependency graph for Types.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sdf::v12::Inertia
 A class for inertial information about a link. More...
 
class  sdf::v12::Time
 A Time class, can be used to hold wall- or sim-time. More...
 

Namespaces

 sdf
 namespace for Simulation Description Format parser
 
 sdf::v12
 

Macros

#define SDF_DEPRECATED(version)
 
#define SDF_FORCEINLINE
 
#define SDF_SUPPRESS_DEPRECATED_BEGIN
 
#define SDF_SUPPRESS_DEPRECATED_END
 

Typedefs

using sdf::v12::Errors = std::vector< Error >
 A vector of Error. More...
 

Functions

template<typename T >
bool sdf::v12::equal (const T &_a, const T &_b, const T &_epsilon=1e-6f)
 check if two values are equal, within a tolerance More...
 
std::string sdf::v12::JoinName (const std::string &_scopeName, const std::string &_localName)
 Join two strings with the '::' delimiter. More...
 
std::string sdf::v12::lowercase (const std::string &_in)
 Transforms a string to its lowercase equivalent. More...
 
std::ostream & sdf::v12::operator<< (std::ostream &_out, const sdf::Errors &_errs)
 Output operator for a collection of errors. More...
 
std::vector< std::string > sdf::v12::split (const std::string &_str, const std::string &_splitter)
 Split a string using the delimiter in splitter. More...
 
std::pair< std::string, std::string > sdf::v12::SplitName (const std::string &_absoluteName)
 Split a name into a two strings based on the '::' delimeter. More...
 
std::string sdf::v12::trim (const char *_in)
 Trim leading and trailing whitespace from a string. More...
 
std::string sdf::v12::trim (const std::string &_in)
 Trim leading and trailing whitespace from a string. More...
 

Variables

const std::string sdf::v12::kSdfScopeDelimiter = "::"
 
constexpr char sdf::v12::kSdfStringSource [] = "<data-string>"
 The source path replacement if it was parsed from a string, instead of a file. More...
 
constexpr char sdf::v12::kUrdfStringSource [] = "<urdf-string>"
 The source path replacement if the urdf was parsed from a string, instead of a file. More...
 

Macro Definition Documentation

◆ SDF_DEPRECATED

#define SDF_DEPRECATED (   version)

◆ SDF_FORCEINLINE

#define SDF_FORCEINLINE

◆ SDF_SUPPRESS_DEPRECATED_BEGIN

#define SDF_SUPPRESS_DEPRECATED_BEGIN

◆ SDF_SUPPRESS_DEPRECATED_END

#define SDF_SUPPRESS_DEPRECATED_END