tesseract v5.3.3.20231005
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 251 of file googletest-param-test-test.cc.

Constructor & Destructor Documentation

◆ IntWrapper() [1/2]

IntWrapper::IntWrapper ( int  a_value)
inlineexplicit

Definition at line 253 of file googletest-param-test-test.cc.

253: value_(a_value) {}

◆ IntWrapper() [2/2]

IntWrapper::IntWrapper ( const IntWrapper other)
inline

Definition at line 254 of file googletest-param-test-test.cc.

254: value_(other.value_) {}

Member Function Documentation

◆ operator+()

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

Definition at line 261 of file googletest-param-test-test.cc.

261{ return IntWrapper(value_ + other); }

◆ operator<()

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

Definition at line 262 of file googletest-param-test-test.cc.

262 {
263 return value_ < other.value_;
264 }

◆ operator=()

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

Definition at line 256 of file googletest-param-test-test.cc.

256 {
257 value_ = other.value_;
258 return *this;
259 }

◆ value()

int IntWrapper::value ( ) const
inline

Definition at line 265 of file googletest-param-test-test.cc.

265{ return value_; }

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