CFEL - ASG Software Suite  2.5.0
CASS
Public Member Functions | List of all members
cass::Splitter Struct Reference

split the line into the values in that line More...

#include <cass.h>

Public Member Functions

void operator() (const std::string &line, std::vector< double > &elems, char delim)
 the operator for splitting a line of values More...
 
void operator() (const std::string &line, std::vector< std::string > &elems, char delim)
 the operator for splitting into substrings More...
 

Detailed Description

split the line into the values in that line

Author
Lutz Foucar

Definition at line 156 of file cass.h.

Member Function Documentation

void cass::Splitter::operator() ( const std::string &  line,
std::vector< double > &  elems,
char  delim 
)
inline

the operator for splitting a line of values

Parameters
linestring containing the line that should be split
elemsvector containing the elements of the line
delimthe delimiter that the line should be splitted by.

Definition at line 164 of file cass.h.

References value.

void cass::Splitter::operator() ( const std::string &  line,
std::vector< std::string > &  elems,
char  delim 
)
inline

the operator for splitting into substrings

Parameters
linestring containing the line that should be split
elemsvector containing the elements of the line
delimthe delimiter that the line should be splitted by.

Definition at line 186 of file cass.h.


The documentation for this struct was generated from the following file: