comma_list< T > Class Template Reference

hold a list of item of type T, tracking also if item has been set. More...

#include <comma_list.h>

Inheritance diagram for comma_list< T >:

Inheritance graph
[legend]
List of all members.

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

Detailed Description

template<class T>
class comma_list< T >

hold a list of item of type T, tracking also if item has been set.


Constructor & Destructor Documentation

template<class T>
comma_list< T >::comma_list  ) 
 


Member Function Documentation

template<class T>
bool comma_list< T >::is_set  )  const [inline]
 

return true if a specific value is held by this container

template<class T>
bool comma_list< T >::match T const &  value  )  const
 

Parameters:
value the value to test
return true if value match one the stored value in items

template<class T>
void comma_list< T >::set std::string const &  str  ) 
 

Parameters:
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.


The documentation for this class was generated from the following file:
Generated on Thu Jul 17 19:54:21 2008 for oprofile by  doxygen 1.4.6