23 #ifndef TCLAP_VALUESCONSTRAINT_H 24 #define TCLAP_VALUESCONSTRAINT_H 36 #if defined(HAVE_SSTREAM) 38 #elif defined(HAVE_STRSTREAM) 41 #error "Need a stringstream (sstream or strstream) to compile!" 103 for (
unsigned int i = 0;
i <
_allowed.size();
i++ )
106 #if defined(HAVE_SSTREAM) 107 std::ostringstream os;
108 #elif defined(HAVE_STRSTREAM) 111 #error "Need a stringstream (sstream or strstream) to compile!"
ValuesConstraint(std::vector< T > &allowed)
virtual std::string description() const
GLsizei const GLchar *const * string
virtual std::string shortID() const
std::vector< T > _allowed
virtual bool check(const T &value) const
virtual ~ValuesConstraint()