Fast RTPS  Version 2.14.1
Fast RTPS
Loading...
Searching...
No Matches
eprosima::fastdds::dds::utils Namespace Reference

Functions

void to_uppercase (std::string &st) noexcept
 Converts the string to uppercase.
 
uint32_t parse_value_and_units (std::string &value, std::string units)
 Converts a numeric value with units to bytes.
 

Function Documentation

◆ parse_value_and_units()

uint32_t parse_value_and_units ( std::string &  value,
std::string  units 
)

Converts a numeric value with units to bytes.

Parameters
[in]valueNumeric value to convert
[in]unitsUnits to use for the conversion
Returns
The value in bytes

◆ to_uppercase()

void to_uppercase ( std::string &  st)
inlinenoexcept

Converts the string to uppercase.

Parameters
[in]stString to convert