proxygen
testing::gmock_matchers_test::Streamlike< T > Class Template Reference

Classes

class  ConstIter
 

Public Types

typedef ConstIter const_iterator
 
typedef T value_type
 
typedef ConstIter const_iterator
 
typedef T value_type
 
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
 
template<typename InIter >
 Streamlike (InIter first, InIter last)
 
const_iterator begin () const
 
const_iterator end () const
 
template<typename InIter >
 Streamlike (InIter first, InIter last)
 
const_iterator begin () const
 
const_iterator end () const
 

Private Attributes

std::list< value_typeremainder_
 

Friends

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

Detailed Description

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

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

Member Typedef Documentation

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

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

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

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

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

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

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

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

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

Constructor & Destructor Documentation

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

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

4503 : remainder_(first, last) {}
constexpr detail::First first
Definition: Base-inl.h:2553
template<typename T>
template<typename InIter >
testing::gmock_matchers_test::Streamlike< T >::Streamlike ( InIter  first,
InIter  last 
)
inline

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

4503 : remainder_(first, last) {}
constexpr detail::First first
Definition: Base-inl.h:2553
template<typename T>
template<typename InIter >
testing::gmock_matchers_test::Streamlike< T >::Streamlike ( InIter  first,
InIter  last 
)
inline

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

4503 : remainder_(first, last) {}
constexpr detail::First first
Definition: Base-inl.h:2553

Member Function Documentation

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

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

Referenced by testing::gmock_matchers_test::TEST().

4505  {
4506  return const_iterator(this, remainder_.begin());
4507  }
template<typename T>
const_iterator testing::gmock_matchers_test::Streamlike< T >::begin ( ) const
inline

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

4505  {
4506  return const_iterator(this, remainder_.begin());
4507  }
template<typename T>
const_iterator testing::gmock_matchers_test::Streamlike< T >::begin ( ) const
inline

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

4505  {
4506  return const_iterator(this, remainder_.begin());
4507  }
template<typename T>
const_iterator testing::gmock_matchers_test::Streamlike< T >::end ( ) const
inline

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

4508  {
4509  return const_iterator(this, remainder_.end());
4510  }
template<typename T>
const_iterator testing::gmock_matchers_test::Streamlike< T >::end ( ) const
inline

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

Referenced by testing::gmock_matchers_test::TEST().

4508  {
4509  return const_iterator(this, remainder_.end());
4510  }
template<typename T>
const_iterator testing::gmock_matchers_test::Streamlike< T >::end ( ) const
inline

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

4508  {
4509  return const_iterator(this, remainder_.end());
4510  }

Friends And Related Function Documentation

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

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

4557  {
4558  os << "[";
4559  typedef typename std::list<value_type>::const_iterator Iter;
4560  const char* sep = "";
4561  for (Iter it = s.remainder_.begin(); it != s.remainder_.end(); ++it) {
4562  os << sep << *it;
4563  sep = ",";
4564  }
4565  os << "]";
4566  return os;
4567  }
def Iter(n, format, sep='')
static set< string > s
template<typename T>
std::ostream& operator<< ( std::ostream &  os,
const Streamlike< T > &  s 
)
friend

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

4557  {
4558  os << "[";
4559  typedef typename std::list<value_type>::const_iterator Iter;
4560  const char* sep = "";
4561  for (Iter it = s.remainder_.begin(); it != s.remainder_.end(); ++it) {
4562  os << sep << *it;
4563  sep = ",";
4564  }
4565  os << "]";
4566  return os;
4567  }
def Iter(n, format, sep='')
static set< string > s
template<typename T>
std::ostream& operator<< ( std::ostream &  os,
const Streamlike< T > &  s 
)
friend

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

4557  {
4558  os << "[";
4559  typedef typename std::list<value_type>::const_iterator Iter;
4560  const char* sep = "";
4561  for (Iter it = s.remainder_.begin(); it != s.remainder_.end(); ++it) {
4562  os << sep << *it;
4563  sep = ",";
4564  }
4565  os << "]";
4566  return os;
4567  }
def Iter(n, format, sep='')
static set< string > s

Member Data Documentation

template<typename T>
std::list< value_type > testing::gmock_matchers_test::Streamlike< T >::remainder_
mutableprivate

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


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