Function trv::sys::set_nodes_by_str#

Function Documentation#

std::vector<float> trv::sys::set_nodes_by_str(std::string interval_str)#

Set a node list possibly from a string.

If the string corresponds to a number between 0 and 100, that is then the percentage-point interval at which the nodes are set as by ProgressBar::set_nodes().

Parameters:

interval_str – Interval string.

Throws:

trv::sys::InvalidParameterError – If the interval string is invalid.

Returns:

Node list.