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

Public Member Functions

 DogAdder (const char *a_value)
 
 DogAdder (const DogAdder &other)
 
DogAdder operator= (const DogAdder &other)
 
DogAdder operator+ (const DogAdder &other) const
 
bool operator< (const DogAdder &other) const
 
const std::string & value () const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ DogAdder() [1/2]

DogAdder::DogAdder ( const char * a_value)
inlineexplicit

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

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

◆ DogAdder() [2/2]

DogAdder::DogAdder ( const DogAdder & other)
inline

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

262: value_(other.value_.c_str()) {}

Member Function Documentation

◆ operator+()

DogAdder DogAdder::operator+ ( const DogAdder & other) const
inline

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

269 {
270 Message msg;
271 msg << value_.c_str() << other.value_.c_str();
272 return DogAdder(msg.GetString().c_str());
273 }
DogAdder(const char *a_value)
Here is the call graph for this function:

◆ operator<()

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

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

274 {
275 return value_ < other.value_;
276 }

◆ operator=()

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

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

264 {
265 if (this != &other)
266 value_ = other.value_;
267 return *this;
268 }

◆ value()

const std::string & DogAdder::value ( ) const
inline

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

277{ return value_; }

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