Static Public Member Functions | List of all members
aditof::Utils Class Reference

#include <utils.h>

Static Public Member Functions

static void splitIntoTokens (const std::string &s, const char delimiter, std::vector< std::string > &tokens)
 Splits a string into smaller strings based on a single character delimiter. The sub-strings are placed in a vector and will not contain the delimiter. More...
 

Detailed Description

Definition at line 40 of file utils.h.

Member Function Documentation

◆ splitIntoTokens()

void Utils::splitIntoTokens ( const std::string s,
const char  delimiter,
std::vector< std::string > &  tokens 
)
static

Splits a string into smaller strings based on a single character delimiter. The sub-strings are placed in a vector and will not contain the delimiter.

Parameters
s- The string to split.
delimiter- The character used for delimiting the sub-strings.
[out]tokens- A vector holding the sub-strings.

Definition at line 38 of file utils.cpp.


The documentation for this class was generated from the following files:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:06