Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::wave::grammars::closures::closure_value Class Reference

#include <cpp_expression_value.hpp>

Public Types

enum  value_type {
  is_int = 1,
  is_uint = 2,
  is_bool = 3
}
 

Public Member Functions

 closure_value (value_error valid_=error_noerror)
 
 closure_value (int i, value_error valid_=error_noerror)
 
 closure_value (unsigned int ui, value_error valid_=error_noerror)
 
 closure_value (int_literal_type i, value_error valid_=error_noerror)
 
 closure_value (uint_literal_type ui, value_error valid_=error_noerror)
 
 closure_value (bool b, value_error valid_=error_noerror)
 
value_type get_type () const
 
value_error is_valid () const
 
closure_valueoperator= (closure_value const &rhs)
 
closure_valueoperator= (int rhs)
 
closure_valueoperator= (unsigned int rhs)
 
closure_valueoperator= (int_literal_type rhs)
 
closure_valueoperator= (uint_literal_type rhs)
 
closure_valueoperator= (bool rhs)
 
closure_valueoperator+= (closure_value const &rhs)
 
closure_valueoperator-= (closure_value const &rhs)
 
closure_valueoperator*= (closure_value const &rhs)
 
closure_valueoperator/= (closure_value const &rhs)
 
closure_valueoperator%= (closure_value const &rhs)
 
closure_valueoperator<<= (closure_value const &rhs)
 
closure_valueoperator>>= (closure_value const &rhs)
 
closure_valuehandle_questionmark (closure_value const &cond, closure_value const &val2)
 

Friends

int_literal_type as_int (closure_value const &v)
 
uint_literal_type as_uint (closure_value const &v)
 
int_literal_type as_long (closure_value const &v)
 
uint_literal_type as_ulong (closure_value const &v)
 
bool as_bool (closure_value const &v)
 
closure_value operator- (closure_value const &rhs)
 
closure_value operator~ (closure_value const &rhs)
 
closure_value operator! (closure_value const &rhs)
 
closure_value operator== (closure_value const &lhs, closure_value const &rhs)
 
closure_value operator!= (closure_value const &lhs, closure_value const &rhs)
 
closure_value operator> (closure_value const &lhs, closure_value const &rhs)
 
closure_value operator< (closure_value const &lhs, closure_value const &rhs)
 
closure_value operator<= (closure_value const &lhs, closure_value const &rhs)
 
closure_value operator>= (closure_value const &lhs, closure_value const &rhs)
 
closure_value operator|| (closure_value const &lhs, closure_value const &rhs)
 
closure_value operator&& (closure_value const &lhs, closure_value const &rhs)
 
closure_value operator| (closure_value const &lhs, closure_value const &rhs)
 
closure_value operator& (closure_value const &lhs, closure_value const &rhs)
 
closure_value operator^ (closure_value const &lhs, closure_value const &rhs)
 

Member Enumeration Documentation

Enumerator
is_int 
is_uint 
is_bool 

Constructor & Destructor Documentation

boost::wave::grammars::closures::closure_value::closure_value ( value_error  valid_ = error_noerror)
inline
boost::wave::grammars::closures::closure_value::closure_value ( int  i,
value_error  valid_ = error_noerror 
)
inlineexplicit

References i.

boost::wave::grammars::closures::closure_value::closure_value ( unsigned int  ui,
value_error  valid_ = error_noerror 
)
inlineexplicit

References ui.

boost::wave::grammars::closures::closure_value::closure_value ( int_literal_type  i,
value_error  valid_ = error_noerror 
)
inlineexplicit

References i.

boost::wave::grammars::closures::closure_value::closure_value ( uint_literal_type  ui,
value_error  valid_ = error_noerror 
)
inlineexplicit

References ui.

boost::wave::grammars::closures::closure_value::closure_value ( bool  b,
value_error  valid_ = error_noerror 
)
inlineexplicit

References b.

Member Function Documentation

value_type boost::wave::grammars::closures::closure_value::get_type ( ) const
inline

Referenced by operator=().

closure_value& boost::wave::grammars::closures::closure_value::handle_questionmark ( closure_value const &  cond,
closure_value const &  val2 
)
inline
value_error boost::wave::grammars::closures::closure_value::is_valid ( ) const
inline
closure_value& boost::wave::grammars::closures::closure_value::operator%= ( closure_value const &  rhs)
inline
closure_value& boost::wave::grammars::closures::closure_value::operator*= ( closure_value const &  rhs)
inline
closure_value& boost::wave::grammars::closures::closure_value::operator+= ( closure_value const &  rhs)
inline
closure_value& boost::wave::grammars::closures::closure_value::operator-= ( closure_value const &  rhs)
inline
closure_value& boost::wave::grammars::closures::closure_value::operator/= ( closure_value const &  rhs)
inline
closure_value& boost::wave::grammars::closures::closure_value::operator<<= ( closure_value const &  rhs)
inline

References as_long, as_ulong, is_bool, is_int, and is_uint.

closure_value& boost::wave::grammars::closures::closure_value::operator= ( closure_value const &  rhs)
inline
closure_value& boost::wave::grammars::closures::closure_value::operator= ( int  rhs)
inline
closure_value& boost::wave::grammars::closures::closure_value::operator= ( unsigned int  rhs)
inline
closure_value& boost::wave::grammars::closures::closure_value::operator= ( int_literal_type  rhs)
inline
closure_value& boost::wave::grammars::closures::closure_value::operator= ( uint_literal_type  rhs)
inline
closure_value& boost::wave::grammars::closures::closure_value::operator= ( bool  rhs)
inline
closure_value& boost::wave::grammars::closures::closure_value::operator>>= ( closure_value const &  rhs)
inline

References as_long, as_ulong, is_bool, is_int, and is_uint.

Friends And Related Function Documentation

bool as_bool ( closure_value const &  v)
friend
int_literal_type as_int ( closure_value const &  v)
friend
uint_literal_type as_uint ( closure_value const &  v)
friend
closure_value operator! ( closure_value const &  rhs)
friend
closure_value operator!= ( closure_value const &  lhs,
closure_value const &  rhs 
)
friend
closure_value operator& ( closure_value const &  lhs,
closure_value const &  rhs 
)
friend
closure_value operator&& ( closure_value const &  lhs,
closure_value const &  rhs 
)
friend
closure_value operator- ( closure_value const &  rhs)
friend
closure_value operator< ( closure_value const &  lhs,
closure_value const &  rhs 
)
friend
closure_value operator<= ( closure_value const &  lhs,
closure_value const &  rhs 
)
friend
closure_value operator== ( closure_value const &  lhs,
closure_value const &  rhs 
)
friend
closure_value operator> ( closure_value const &  lhs,
closure_value const &  rhs 
)
friend
closure_value operator>= ( closure_value const &  lhs,
closure_value const &  rhs 
)
friend
closure_value operator^ ( closure_value const &  lhs,
closure_value const &  rhs 
)
friend
closure_value operator| ( closure_value const &  lhs,
closure_value const &  rhs 
)
friend
closure_value operator|| ( closure_value const &  lhs,
closure_value const &  rhs 
)
friend
closure_value operator~ ( closure_value const &  rhs)
friend

Member Data Documentation

bool boost::wave::grammars::closures::closure_value::b

The documentation for this class was generated from the following file: