metaproxy  1.13.0
Public Member Functions | Public Attributes | List of all members
metaproxy_1::RouterChain::Pos Class Reference
Inheritance diagram for metaproxy_1::RouterChain::Pos:
Inheritance graph
Collaboration diagram for metaproxy_1::RouterChain::Pos:
Collaboration graph

Public Member Functions

virtual const filter::Base * move (const char *route)
 
virtual RoutePos * clone ()
 
virtual ~Pos ()
 

Public Attributes

std::list< const filter::Base * >::const_iterator it
 
mp::RouterChain::Rep * m_p
 

Detailed Description

Definition at line 35 of file router_chain.cpp.

Constructor & Destructor Documentation

metaproxy_1::RouterChain::Pos::~Pos ( )
virtual

Definition at line 94 of file router_chain.cpp.

References m_p.

95 {
96 }

Member Function Documentation

mp::RoutePos * metaproxy_1::RouterChain::Pos::clone ( )
virtual

Definition at line 86 of file router_chain.cpp.

References it, and m_p.

87 {
88  mp::RouterChain::Pos *p = new mp::RouterChain::Pos;
89  p->it = it;
90  p->m_p = m_p;
91  return p;
92 }
mp::RouterChain::Rep * m_p
std::list< const filter::Base * >::const_iterator it
const mp::filter::Base * metaproxy_1::RouterChain::Pos::move ( const char *  route)
virtual

Definition at line 69 of file router_chain.cpp.

References it, and m_p.

70 {
71  if (it == m_p->m_filter_list.end())
72  return 0;
73  const mp::filter::Base *f = *it;
74  it++;
75  return f;
76 }
mp::RouterChain::Rep * m_p
std::list< const filter::Base * >::const_iterator it

Member Data Documentation

std::list<const filter::Base *>::const_iterator metaproxy_1::RouterChain::Pos::it

Definition at line 40 of file router_chain.cpp.

Referenced by clone(), and move().

mp::RouterChain::Rep* metaproxy_1::RouterChain::Pos::m_p

Definition at line 41 of file router_chain.cpp.

Referenced by clone(), move(), and ~Pos().


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