#include <cartobase/type/string_conversion.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <iterator>
#include <algorithm>
Go to the source code of this file.
|
void | removeCharacters (std::string &line, std::string character) |
|
void | tokenize (const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=" ") |
|
std::string | parseLine (std::string line) |
|
template<class T > |
void | stringToVector (std::string value, std::vector< T > &values) |
|
template<class T > |
void | printVector (std::ostream &os, std::string name, const std::vector< T > &vect) |
|
◆ parseLine()
std::string parseLine |
( |
std::string |
line | ) |
|
◆ printVector()
template<class T >
void printVector |
( |
std::ostream & |
os, |
|
|
std::string |
name, |
|
|
const std::vector< T > & |
vect |
|
) |
| |
◆ removeCharacters()
void removeCharacters |
( |
std::string & |
line, |
|
|
std::string |
character |
|
) |
| |
◆ stringToVector()
template<class T >
void stringToVector |
( |
std::string |
value, |
|
|
std::vector< T > & |
values |
|
) |
| |
◆ tokenize()
void tokenize |
( |
const std::string & |
str, |
|
|
std::vector< std::string > & |
tokens, |
|
|
const std::string & |
delimiters = " " |
|
) |
| |