hold a list of item of type T, tracking also if item has been set. More...
#include <comma_list.h>

Public Member Functions | |
| comma_list () | |
| void | set (std::string const &str) |
| bool | is_set () const |
| return true if a specific value is held by this container | |
| bool | match (T const &value) const |
hold a list of item of type T, tracking also if item has been set.
| comma_list< T >::comma_list | ( | ) | [inline] |
| bool comma_list< T >::is_set | ( | ) | const [inline] |
return true if a specific value is held by this container
| bool comma_list< T >::match | ( | T const & | value | ) | const [inline] |
| value | the value to test |
return true if value match one the stored value in items
Referenced by profile_spec::match().
| void comma_list< T >::set | ( | std::string const & | str | ) | [inline] |
| str | list of comma separated item |
setup items array according to str parameters. Implement PP:3.17 w/o restriction on charset and with the special string all which match anything.
References separate_token().
Referenced by main().
1.6.1