OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpOList Class Reference

#include <bgp_attr.h>

Collaboration diagram for BgpOList:

Public Types

typedef std::vector
< BgpOListElem * > 
Elements
 

Public Member Functions

 BgpOList (BgpOListDB *olist_db, const BgpOListSpec &olist_spec)
 
virtual ~BgpOList ()
 
virtual void Remove ()
 
int CompareTo (const BgpOList &rhs) const
 
const BgpOListSpecolist () const
 
const Elementselements () const
 

Private Attributes

Elements elements_
 
tbb::atomic< int > refcount_
 
BgpOListDBolist_db_
 
BgpOListSpec olist_spec_
 

Friends

class BgpOListDB
 
std::size_t hash_value (const BgpOList &olist)
 
int intrusive_ptr_add_ref (const BgpOList *colist)
 
int intrusive_ptr_del_ref (const BgpOList *colist)
 
void intrusive_ptr_release (const BgpOList *colist)
 

Detailed Description

Definition at line 697 of file bgp_attr.h.

Member Typedef Documentation

typedef std::vector<BgpOListElem *> BgpOList::Elements

Definition at line 712 of file bgp_attr.h.

Constructor & Destructor Documentation

BgpOList::BgpOList ( BgpOListDB olist_db,
const BgpOListSpec olist_spec 
)

Definition at line 770 of file bgp_attr.cc.

BgpOList::~BgpOList ( )
virtual

Definition at line 783 of file bgp_attr.cc.

Here is the call graph for this function:

Member Function Documentation

int BgpOList::CompareTo ( const BgpOList rhs) const

Definition at line 794 of file bgp_attr.cc.

Here is the call graph for this function:

const Elements& BgpOList::elements ( ) const
inline

Definition at line 714 of file bgp_attr.h.

const BgpOListSpec& BgpOList::olist ( ) const
inline

Definition at line 704 of file bgp_attr.h.

void BgpOList::Remove ( )
virtual

Definition at line 802 of file bgp_attr.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class BgpOListDB
friend

Definition at line 720 of file bgp_attr.h.

std::size_t hash_value ( const BgpOList olist)
friend

Definition at line 706 of file bgp_attr.h.

int intrusive_ptr_add_ref ( const BgpOList colist)
friend

Definition at line 728 of file bgp_attr.h.

int intrusive_ptr_del_ref ( const BgpOList colist)
friend

Definition at line 732 of file bgp_attr.h.

void intrusive_ptr_release ( const BgpOList colist)
friend

Definition at line 736 of file bgp_attr.h.

Member Data Documentation

Elements BgpOList::elements_
private

Definition at line 722 of file bgp_attr.h.

BgpOListDB* BgpOList::olist_db_
private

Definition at line 724 of file bgp_attr.h.

BgpOListSpec BgpOList::olist_spec_
private

Definition at line 725 of file bgp_attr.h.

tbb::atomic<int> BgpOList::refcount_
mutableprivate

Definition at line 723 of file bgp_attr.h.


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