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

tokenize to return all lines of an ascii file in a vector More...

#include <cass.h>

Public Member Functions

std::vector< std::string > operator() (std::ifstream &file)
 the operator More...
 

Detailed Description

tokenize to return all lines of an ascii file in a vector

will return a list containing all non empty lines of the file. Before returning the list strip the 'new line' and 'line feed' from the line. Also skip all lines that contain either a '#' or a ';'.

Author
Lutz Foucar

Definition at line 111 of file cass.h.

Member Function Documentation

std::vector<std::string> cass::Tokenizer::operator() ( std::ifstream &  file)
inline

the operator

Returns
vector of string containing all non empty lines of the file
Parameters
filethe filestream to tokenize

Definition at line 118 of file cass.h.


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