proxygen
testing::gmock_matchers_test::Streamlike< T >::ConstIter Class Reference
Inheritance diagram for testing::gmock_matchers_test::Streamlike< T >::ConstIter:

Classes

class  PostIncrProxy
 

Public Member Functions

 ConstIter (const Streamlike *s, typename std::list< value_type >::iterator pos)
 
const value_typeoperator* () const
 
const value_typeoperator-> () const
 
ConstIteroperator++ ()
 
PostIncrProxy operator++ (int)
 
 ConstIter (const Streamlike *s, typename std::list< value_type >::iterator pos)
 
const value_typeoperator* () const
 
const value_typeoperator-> () const
 
ConstIteroperator++ ()
 
PostIncrProxy operator++ (int)
 
 ConstIter (const Streamlike *s, typename std::list< value_type >::iterator pos)
 
const value_typeoperator* () const
 
const value_typeoperator-> () const
 
ConstIteroperator++ ()
 
PostIncrProxy operator++ (int)
 

Private Attributes

const Streamlikes_
 
std::list< value_type >::iterator pos_
 

Friends

bool operator== (const ConstIter &a, const ConstIter &b)
 
bool operator!= (const ConstIter &a, const ConstIter &b)
 
bool operator== (const ConstIter &a, const ConstIter &b)
 
bool operator!= (const ConstIter &a, const ConstIter &b)
 
bool operator== (const ConstIter &a, const ConstIter &b)
 
bool operator!= (const ConstIter &a, const ConstIter &b)
 

Detailed Description

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

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

Constructor & Destructor Documentation

template<typename T>
testing::gmock_matchers_test::Streamlike< T >::ConstIter::ConstIter ( const Streamlike s,
typename std::list< value_type >::iterator  pos 
)
inline

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

4521  : s_(s), pos_(pos) {}
static set< string > s
template<typename T>
testing::gmock_matchers_test::Streamlike< T >::ConstIter::ConstIter ( const Streamlike s,
typename std::list< value_type >::iterator  pos 
)
inline

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

4521  : s_(s), pos_(pos) {}
static set< string > s
template<typename T>
testing::gmock_matchers_test::Streamlike< T >::ConstIter::ConstIter ( const Streamlike s,
typename std::list< value_type >::iterator  pos 
)
inline

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

4521  : s_(s), pos_(pos) {}
static set< string > s

Member Function Documentation

template<typename T>
const value_type& testing::gmock_matchers_test::Streamlike< T >::ConstIter::operator* ( ) const
inline

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

4523 { return *pos_; }
template<typename T>
const value_type& testing::gmock_matchers_test::Streamlike< T >::ConstIter::operator* ( ) const
inline

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

4523 { return *pos_; }
template<typename T>
const value_type& testing::gmock_matchers_test::Streamlike< T >::ConstIter::operator* ( ) const
inline

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

4523 { return *pos_; }
template<typename T>
ConstIter& testing::gmock_matchers_test::Streamlike< T >::ConstIter::operator++ ( )
inline

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

References s_.

4525  {
4526  s_->remainder_.erase(pos_++);
4527  return *this;
4528  }
template<typename T>
ConstIter& testing::gmock_matchers_test::Streamlike< T >::ConstIter::operator++ ( )
inline

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

References s_.

4525  {
4526  s_->remainder_.erase(pos_++);
4527  return *this;
4528  }
template<typename T>
ConstIter& testing::gmock_matchers_test::Streamlike< T >::ConstIter::operator++ ( )
inline

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

References s_.

4525  {
4526  s_->remainder_.erase(pos_++);
4527  return *this;
4528  }
template<typename T>
PostIncrProxy testing::gmock_matchers_test::Streamlike< T >::ConstIter::operator++ ( int  )
inline

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

4539  {
4540  PostIncrProxy proxy(**this);
4541  ++(*this);
4542  return proxy;
4543  }
template<typename T>
PostIncrProxy testing::gmock_matchers_test::Streamlike< T >::ConstIter::operator++ ( int  )
inline

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

4539  {
4540  PostIncrProxy proxy(**this);
4541  ++(*this);
4542  return proxy;
4543  }
template<typename T>
PostIncrProxy testing::gmock_matchers_test::Streamlike< T >::ConstIter::operator++ ( int  )
inline

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

4539  {
4540  PostIncrProxy proxy(**this);
4541  ++(*this);
4542  return proxy;
4543  }
template<typename T>
const value_type* testing::gmock_matchers_test::Streamlike< T >::ConstIter::operator-> ( ) const
inline

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

4524 { return &*pos_; }
template<typename T>
const value_type* testing::gmock_matchers_test::Streamlike< T >::ConstIter::operator-> ( ) const
inline

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

4524 { return &*pos_; }
template<typename T>
const value_type* testing::gmock_matchers_test::Streamlike< T >::ConstIter::operator-> ( ) const
inline

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

4524 { return &*pos_; }

Friends And Related Function Documentation

template<typename T>
bool operator!= ( const ConstIter a,
const ConstIter b 
)
friend

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

4548  {
4549  return !(a == b);
4550  }
char b
char a
template<typename T>
bool operator!= ( const ConstIter a,
const ConstIter b 
)
friend

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

4548  {
4549  return !(a == b);
4550  }
char b
char a
template<typename T>
bool operator!= ( const ConstIter a,
const ConstIter b 
)
friend

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

4548  {
4549  return !(a == b);
4550  }
char b
char a
template<typename T>
bool operator== ( const ConstIter a,
const ConstIter b 
)
friend

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

4545  {
4546  return a.s_ == b.s_ && a.pos_ == b.pos_;
4547  }
char b
char a
template<typename T>
bool operator== ( const ConstIter a,
const ConstIter b 
)
friend

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

4545  {
4546  return a.s_ == b.s_ && a.pos_ == b.pos_;
4547  }
char b
char a
template<typename T>
bool operator== ( const ConstIter a,
const ConstIter b 
)
friend

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

4545  {
4546  return a.s_ == b.s_ && a.pos_ == b.pos_;
4547  }
char b
char a

Member Data Documentation

template<typename T>
std::list< value_type >::iterator testing::gmock_matchers_test::Streamlike< T >::ConstIter::pos_
private

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

template<typename T>
const Streamlike * testing::gmock_matchers_test::Streamlike< T >::ConstIter::s_
private

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


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