17 if (str.length() >= 1) {
19 if (str.length() >= 2) {
21 if (str.length() >= 3) {
23 if (str.length() >= 4) {
36 for (
int i = 0; i < 4; i++) {
NetInt32 encode(const std::string &str)
Convert a string into a vocabulary identifier.
std::string decode(NetInt32 code)
Convert a vocabulary identifier into a string.
An interface to the operating system, including Port based communication.
std::int32_t NetInt32
Definition of the NetInt32 type.
constexpr yarp::conf::vocab32_t createVocab32(char a, char b=0, char c=0, char d=0)
Create a vocab from chars.