Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::ExpectationSet Class Reference

#include <gmock-spec-builders.h>

Public Types

typedef Expectation::Set::const_iterator const_iterator
 
typedef Expectation::Set::value_type value_type
 

Public Member Functions

 ExpectationSet ()
 
 ExpectationSet (internal::ExpectationBase &exp)
 
 ExpectationSet (const Expectation &e)
 
bool operator== (const ExpectationSet &rhs) const
 
bool operator!= (const ExpectationSet &rhs) const
 
ExpectationSetoperator+= (const Expectation &e)
 
int size () const
 
const_iterator begin () const
 
const_iterator end () const
 

Detailed Description

Definition at line 568 of file gmock-spec-builders.h.

Member Typedef Documentation

◆ const_iterator

Expectation::Set::const_iterator testing::ExpectationSet::const_iterator

Definition at line 571 of file gmock-spec-builders.h.

◆ value_type

Expectation::Set::value_type testing::ExpectationSet::value_type

Definition at line 574 of file gmock-spec-builders.h.

Constructor & Destructor Documentation

◆ ExpectationSet() [1/3]

testing::ExpectationSet::ExpectationSet ( )
inline

Definition at line 577 of file gmock-spec-builders.h.

577{}

◆ ExpectationSet() [2/3]

testing::ExpectationSet::ExpectationSet ( internal::ExpectationBase & exp)
inline

Definition at line 582 of file gmock-spec-builders.h.

582 { // NOLINT
583 *this += Expectation(exp);
584 }

◆ ExpectationSet() [3/3]

testing::ExpectationSet::ExpectationSet ( const Expectation & e)
inline

Definition at line 589 of file gmock-spec-builders.h.

589 { // NOLINT
590 *this += e;
591 }

Member Function Documentation

◆ begin()

const_iterator testing::ExpectationSet::begin ( ) const
inline

Definition at line 613 of file gmock-spec-builders.h.

613{ return expectations_.begin(); }
Here is the caller graph for this function:

◆ end()

const_iterator testing::ExpectationSet::end ( ) const
inline

Definition at line 614 of file gmock-spec-builders.h.

614{ return expectations_.end(); }
Here is the caller graph for this function:

◆ operator!=()

bool testing::ExpectationSet::operator!= ( const ExpectationSet & rhs) const
inline

Definition at line 602 of file gmock-spec-builders.h.

602{ return !(*this == rhs); }

◆ operator+=()

ExpectationSet & testing::ExpectationSet::operator+= ( const Expectation & e)
inline

Definition at line 606 of file gmock-spec-builders.h.

606 {
607 expectations_.insert(e);
608 return *this;
609 }

◆ operator==()

bool testing::ExpectationSet::operator== ( const ExpectationSet & rhs) const
inline

Definition at line 598 of file gmock-spec-builders.h.

598 {
599 return expectations_ == rhs.expectations_;
600 }

◆ size()

int testing::ExpectationSet::size ( ) const
inline

Definition at line 611 of file gmock-spec-builders.h.

611{ return static_cast<int>(expectations_.size()); }

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