From: Philippe E. <ph...@us...> - 2003-11-01 23:09:51
|
Update of /cvsroot/oprofile/oprofile/libutil++ In directory sc8-pr-cvs1:/tmp/cvs-serv16759/libutil++ Modified Files: glob_filter.h string_filter.h Log Message: tests for glob_filter Index: glob_filter.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libutil++/glob_filter.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -d -r1.2 -r1.3 --- glob_filter.h 29 May 2003 00:53:50 -0000 1.2 +++ glob_filter.h 1 Nov 2003 23:09:48 -0000 1.3 @@ -25,8 +25,9 @@ class glob_filter : public string_filter { public: /** - * Initialise the filter with the include and exclude list, comma-separated. - * Whitespace in each pattern is stripped. + * Initialise the filter with the include and exclude list, + * comma-separated. Trailing and heading whitespace in each pattern are + * stripped. */ glob_filter(std::string const & include_patterns, std::string const & exclude_patterns) @@ -38,7 +39,6 @@ public: glob_filter(std::vector<std::string> const & include_patterns, std::vector<std::string> const & exclude_patterns) : string_filter(include_patterns, exclude_patterns) {} - /// Returns true if the given string matches virtual bool match(std::string const & str) const; Index: string_filter.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libutil++/string_filter.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -d -r1.2 -r1.3 --- string_filter.h 29 May 2003 00:53:50 -0000 1.2 +++ string_filter.h 1 Nov 2003 23:09:48 -0000 1.3 @@ -28,8 +28,9 @@ public: string_filter() {} /** - * Initialise the filter with the include and exclude list, comma-separated. - * Whitespace in each pattern is stripped. + * Initialise the filter with the include and exclude list, + * comma-separated. Trailing and heading whitespace in each pattern are + * stripped. */ string_filter(std::string const & include_patterns, std::string const & exclude_patterns); |