findit.hh File Reference

#include "std_cpp_includes.hh"

Go to the source code of this file.

Functions

template<typename T>
std::string findit (std::string arg, char sep, size_t &pos, T &thingie, int &ierr)
 find a next substring of string arg, terminated by character sep, convert to a thing of type T if possible.


Function Documentation

template<typename T>
std::string findit ( std::string  arg,
char  sep,
size_t &  pos,
T &  thingie,
int &  ierr 
)

find a next substring of string arg, terminated by character sep, convert to a thing of type T if possible.

pos is beginning of search zone on call, next occurrence of sep orelse length of arg on return. If at end, returns empty string. Integer flag ierr is = 0 for successful conversion to T, else 1.

Definition at line 10 of file findit.hh.


Generated on 5 Jan 2017 for IWAVEBASE by  doxygen 1.4.7