Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::gmock_matchers_test::Streamlike< T > Class Template Reference

Public Types

typedef ConstIter const_iterator
 
typedef T value_type
 

Public Member Functions

template<typename InIter >
 Streamlike (InIter first, InIter last)
 
const_iterator begin () const
 
const_iterator end () const
 

Friends

std::ostream & operator<< (std::ostream &os, const Streamlike &s)
 

Detailed Description

template<typename T>
class testing::gmock_matchers_test::Streamlike< T >

Definition at line 5184 of file gmock-matchers_test.cc.

Member Typedef Documentation

◆ const_iterator

template<typename T >
ConstIter testing::gmock_matchers_test::Streamlike< T >::const_iterator

Definition at line 5188 of file gmock-matchers_test.cc.

◆ value_type

template<typename T >
T testing::gmock_matchers_test::Streamlike< T >::value_type

Definition at line 5189 of file gmock-matchers_test.cc.

Constructor & Destructor Documentation

◆ Streamlike()

template<typename T >
template<typename InIter >
testing::gmock_matchers_test::Streamlike< T >::Streamlike ( InIter first,
InIter last )
inline

Definition at line 5192 of file gmock-matchers_test.cc.

5192: remainder_(first, last) {}

Member Function Documentation

◆ begin()

template<typename T >
const_iterator testing::gmock_matchers_test::Streamlike< T >::begin ( ) const
inline

Definition at line 5194 of file gmock-matchers_test.cc.

5194 {
5195 return const_iterator(this, remainder_.begin());
5196 }

◆ end()

template<typename T >
const_iterator testing::gmock_matchers_test::Streamlike< T >::end ( ) const
inline

Definition at line 5197 of file gmock-matchers_test.cc.

5197 {
5198 return const_iterator(this, remainder_.end());
5199 }

Friends And Related Symbol Documentation

◆ operator<<

template<typename T >
std::ostream & operator<< ( std::ostream & os,
const Streamlike< T > & s )
friend

Definition at line 5246 of file gmock-matchers_test.cc.

5246 {
5247 os << "[";
5248 typedef typename std::list<value_type>::const_iterator Iter;
5249 const char* sep = "";
5250 for (Iter it = s.remainder_.begin(); it != s.remainder_.end(); ++it) {
5251 os << sep << *it;
5252 sep = ",";
5253 }
5254 os << "]";
5255 return os;
5256 }
os_t os
char * s

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