Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
IntWrapper Class Reference

Public Member Functions

 IntWrapper (int a_value)
 
 IntWrapper (const IntWrapper &other)
 
IntWrapper operator= (const IntWrapper &other)
 
IntWrapper operator+ (int other) const
 
bool operator< (const IntWrapper &other) const
 
int value () const
 

Detailed Description

Definition at line 297 of file gtest-param-test_test.cc.

Constructor & Destructor Documentation

◆ IntWrapper() [1/2]

IntWrapper::IntWrapper ( int a_value)
inlineexplicit

Definition at line 299 of file gtest-param-test_test.cc.

299: value_(a_value) {}
Here is the caller graph for this function:

◆ IntWrapper() [2/2]

IntWrapper::IntWrapper ( const IntWrapper & other)
inline

Definition at line 300 of file gtest-param-test_test.cc.

300: value_(other.value_) {}

Member Function Documentation

◆ operator+()

IntWrapper IntWrapper::operator+ ( int other) const
inline

Definition at line 307 of file gtest-param-test_test.cc.

307{ return IntWrapper(value_ + other); }
IntWrapper(int a_value)
Here is the call graph for this function:

◆ operator<()

bool IntWrapper::operator< ( const IntWrapper & other) const
inline

Definition at line 308 of file gtest-param-test_test.cc.

308 {
309 return value_ < other.value_;
310 }

◆ operator=()

IntWrapper IntWrapper::operator= ( const IntWrapper & other)
inline

Definition at line 302 of file gtest-param-test_test.cc.

302 {
303 value_ = other.value_;
304 return *this;
305 }

◆ value()

int IntWrapper::value ( ) const
inline

Definition at line 311 of file gtest-param-test_test.cc.

311{ return value_; }

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