OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpSenderPartition::PeerState::circular_iterator Class Reference
Inheritance diagram for BgpSenderPartition::PeerState::circular_iterator:
Collaboration diagram for BgpSenderPartition::PeerState::circular_iterator:

Public Member Functions

 circular_iterator (const RibStateMap &indexmap, Map *map, int start, bool is_valid)
 
int index () const
 
RibStaterib_state ()
 
const PeerRibStatepeer_rib_state () const
 

Private Member Functions

void increment ()
 
bool equal (const circular_iterator &rhs) const
 
RibOutdereference () const
 

Private Attributes

const RibStateMapindexmap_
 
Mapmap_
 
int index_
 
bool match_
 

Friends

class boost::iterator_core_access
 

Detailed Description

Definition at line 99 of file bgp_update_sender.cc.

Constructor & Destructor Documentation

BgpSenderPartition::PeerState::circular_iterator::circular_iterator ( const RibStateMap indexmap,
Map map,
int  start,
bool  is_valid 
)
inlineexplicit

Definition at line 102 of file bgp_update_sender.cc.

Member Function Documentation

RibOut & BgpSenderPartition::PeerState::circular_iterator::dereference ( ) const
private

Definition at line 371 of file bgp_update_sender.cc.

bool BgpSenderPartition::PeerState::circular_iterator::equal ( const circular_iterator rhs) const
inlineprivate

Definition at line 130 of file bgp_update_sender.cc.

void BgpSenderPartition::PeerState::circular_iterator::increment ( )
inlineprivate

Definition at line 121 of file bgp_update_sender.cc.

int BgpSenderPartition::PeerState::circular_iterator::index ( ) const
inline

Definition at line 115 of file bgp_update_sender.cc.

const PeerRibState& BgpSenderPartition::PeerState::circular_iterator::peer_rib_state ( ) const
inline

Definition at line 117 of file bgp_update_sender.cc.

RibState* BgpSenderPartition::PeerState::circular_iterator::rib_state ( )
inline

Definition at line 116 of file bgp_update_sender.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class boost::iterator_core_access
friend

Definition at line 120 of file bgp_update_sender.cc.

Member Data Documentation

int BgpSenderPartition::PeerState::circular_iterator::index_
private

Definition at line 137 of file bgp_update_sender.cc.

const RibStateMap& BgpSenderPartition::PeerState::circular_iterator::indexmap_
private

Definition at line 135 of file bgp_update_sender.cc.

Map* BgpSenderPartition::PeerState::circular_iterator::map_
private

Definition at line 136 of file bgp_update_sender.cc.

bool BgpSenderPartition::PeerState::circular_iterator::match_
private

Definition at line 138 of file bgp_update_sender.cc.


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