#include <generic_spec.h>
Inheritance diagram for generic_spec< T >:


Public Member Functions | |
| generic_spec () | |
| build a default spec which match anything | |
| void | set (std::string const &) |
| build a spec from a string, valid argument are "all" or a string convertible to T through istringtream(str) >> data conversion is strict, no space are allowed at begin or end of str | |
| bool | is_set () const |
| return true if a specific value is held by this container | |
| T const | value () const |
| return the specific value (only if is_set() == true) | |
| bool | match (T const &rhs) const |
| return true if rhs match this spec. Sub part of PP:3.24 | |
| bool | match (generic_spec< T > const &rhs) const |
| return true if rhs match this spec. Sub part of PP:3.24 | |
| template<> | |
| void | set (std::string const &str) |
|
|||||||||
|
build a default spec which match anything
|
|
|||||||||
|
return true if a specific value is held by this container
|
|
||||||||||
|
return true if rhs match this spec. Sub part of PP:3.24
|
|
||||||||||
|
return true if rhs match this spec. Sub part of PP:3.24
|
|
||||||||||
|
|
|
||||||||||
|
build a spec from a string, valid argument are "all" or a string convertible to T through istringtream(str) >> data conversion is strict, no space are allowed at begin or end of str
|
|
|||||||||
|
return the specific value (only if is_set() == true)
|
1.4.6