Function ros2_medkit_gateway::string_to_token_type

Function Documentation

inline TokenType ros2_medkit_gateway::string_to_token_type(const std::string &type_str)

Convert string to TokenType.

Throws:

std::invalid_argument – if string is not a valid token type