stlsoft/util/options_verifier.hpp File Reference


Detailed Description

[C++ only] Definition of the stlsoft::options_verifier class template (Utility Library).

#include <stlsoft/stlsoft.h>
#include <stlsoft/shims/access/string.hpp>
#include <exception>
#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  stlsoft

Classes

class  option_verification_exception
 Exception thrown by the options_verifier class template. More...
struct  option_verification_policy
 Exception policy for options verification. More...
class  options_verifier
 Verifies that a given variable is equal to one of a set of options. More...
class  options_verifier_comparison_ref
 Acts as a temporary reference to the options_verifier. More...

Functions

template<typename T>
options_verifier< T > verify_options (T const &value, char const *failureMessage)
template<typename T, typename XP>
options_verifier< T, XP > verify_options (T const &value, XP const &policy, char const *failureMessage)
template<typename T, typename XP, typename U>
options_verifier< T, XP > & operator, (options_verifier< T, XP > &ov, U const &u)
template<typename T, typename U>
options_verifier_comparison_ref
< T, U > & 
operator== (options_verifier< T > const &ov, U const &u)
template<typename T, typename U1, typename U2>
options_verifier_comparison_ref
< T, U1 > & 
operator|| (options_verifier_comparison_ref< T, U1 > &ov, U2 const &u)


Generated on Thu Jun 10 08:58:12 2010 for STLSoft by  doxygen 1.5.6