Switch to unified view

a/src/utils/smallut.h b/src/utils/smallut.h
1
#ifndef _SMALLUT_H_INCLUDED_
1
#ifndef _SMALLUT_H_INCLUDED_
2
#define _SMALLUT_H_INCLUDED_
2
#define _SMALLUT_H_INCLUDED_
3
/* @(#$Id: smallut.h,v 1.9 2005-11-25 08:50:39 dockes Exp $  (C) 2004 J.F.Dockes */
3
/* @(#$Id: smallut.h,v 1.10 2005-11-25 14:36:46 dockes Exp $  (C) 2004 J.F.Dockes */
4
#include <string>
4
#include <string>
5
#include <list>
5
#include <list>
6
6
7
#ifndef NO_NAMESPACES
7
#ifndef NO_NAMESPACES
8
using std::string;
8
using std::string;
...
...
27
 */
27
 */
28
extern bool stringToStrings(const string &s, std::list<string> &tokens);
28
extern bool stringToStrings(const string &s, std::list<string> &tokens);
29
29
30
extern bool stringToBool(const string &s);
30
extern bool stringToBool(const string &s);
31
31
32
/** Remove instances of characters belonging to set (default {space,
33
    tab}) at beginning and end of input string */
34
extern void trimstring(string &s, const char *ws = " \t");
35
32
#endif /* _SMALLUT_H_INCLUDED_ */
36
#endif /* _SMALLUT_H_INCLUDED_ */