15 #ifndef TCLAP_VALUESCONSTRAINT_H    16 #define TCLAP_VALUESCONSTRAINT_H    24 #if defined(HAVE_SSTREAM)    26 #elif defined(HAVE_STRSTREAM)    29 #error "Need a stringstream (sstream or strstream) to compile!"    39 class ValuesConstraint : 
public Constraint<T>
    63                 virtual std::string 
shortID() 
const;
    70                 virtual bool check(
const T& value) 
const;
    90     for ( 
unsigned int i = 0; i < 
_allowed.size(); i++ )
    93 #if defined(HAVE_SSTREAM)    94         std::ostringstream os;
    95 #elif defined(HAVE_STRSTREAM)    98 #error "Need a stringstream (sstream or strstream) to compile!"   103         std::string temp( os.str() );
 
virtual std::string description() const 
ValuesConstraint(std::vector< T > &allowed)
virtual bool check(const T &value) const 
std::vector< T > _allowed
virtual ~ValuesConstraint()
virtual std::string shortID() const