proxygen
Bool Struct Reference

Public Member Functions

 Bool (int val)
 
bool operator> (int n) const
 
Bool operator+ (const Bool &rhs) const
 
bool operator== (const Bool &rhs) const
 
 Bool (int val)
 
bool operator> (int n) const
 
Bool operator+ (const Bool &rhs) const
 
bool operator== (const Bool &rhs) const
 
 Bool (int val)
 
bool operator> (int n) const
 
Bool operator+ (const Bool &rhs) const
 
bool operator== (const Bool &rhs) const
 

Public Attributes

bool value
 

Detailed Description

Definition at line 56 of file gtest_pred_impl_unittest.cc.

Constructor & Destructor Documentation

Bool::Bool ( int  val)
inlineexplicit

Definition at line 57 of file gtest_pred_impl_unittest.cc.

Referenced by operator+(), operator>(), and TEST_F().

57 : value(val != 0) {}
double val
Definition: String.cpp:273
Bool::Bool ( int  val)
inlineexplicit

Definition at line 57 of file gtest_pred_impl_unittest.cc.

57 : value(val != 0) {}
double val
Definition: String.cpp:273
Bool::Bool ( int  val)
inlineexplicit

Definition at line 57 of file gtest_pred_impl_unittest.cc.

57 : value(val != 0) {}
double val
Definition: String.cpp:273

Member Function Documentation

Bool Bool::operator+ ( const Bool rhs) const
inline

Definition at line 61 of file gtest_pred_impl_unittest.cc.

References Bool(), and value.

61 { return Bool(value + rhs.value); }
Bool Bool::operator+ ( const Bool rhs) const
inline

Definition at line 61 of file gtest_pred_impl_unittest.cc.

References Bool(), and value.

61 { return Bool(value + rhs.value); }
Bool Bool::operator+ ( const Bool rhs) const
inline

Definition at line 61 of file gtest_pred_impl_unittest.cc.

References Bool(), and value.

61 { return Bool(value + rhs.value); }
bool Bool::operator== ( const Bool rhs) const
inline

Definition at line 63 of file gtest_pred_impl_unittest.cc.

References value.

63 { return value == rhs.value; }
bool Bool::operator== ( const Bool rhs) const
inline

Definition at line 63 of file gtest_pred_impl_unittest.cc.

References value.

63 { return value == rhs.value; }
bool Bool::operator== ( const Bool rhs) const
inline

Definition at line 63 of file gtest_pred_impl_unittest.cc.

References value.

63 { return value == rhs.value; }
bool Bool::operator> ( int  n) const
inline

Definition at line 59 of file gtest_pred_impl_unittest.cc.

References Bool(), and value.

59 { return value > Bool(n).value; }
bool Bool::operator> ( int  n) const
inline

Definition at line 59 of file gtest_pred_impl_unittest.cc.

References Bool(), and value.

59 { return value > Bool(n).value; }
bool Bool::operator> ( int  n) const
inline

Definition at line 59 of file gtest_pred_impl_unittest.cc.

References Bool(), and value.

59 { return value > Bool(n).value; }

Member Data Documentation

bool Bool::value

Definition at line 65 of file gtest_pred_impl_unittest.cc.

Referenced by operator+(), operator<<(), operator==(), and operator>().


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