Commit 9d2dcf64 authored by Remi Mommsen's avatar Remi Mommsen
Browse files

references #159: Utils.h is included from CompoundDataStreamer.h

parent 335db58b
#ifndef _interface_bril_Utils_h
#define _interface_bril_Utils_h
#include <vector>
#include <string>
namespace interface{ namespace bril{ namespace Utils{
static std::vector<std::string> splitstring(const std::string& input, char separator = ' '){
const char* str=input.c_str();
std::vector<std::string> result;
do{
const char* begin = str;
while(*str != separator && *str){
str++;
}
result.push_back(std::string(begin,str));
} while (0 != *str++);
return result;
}
}}}
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment