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

#include <bgp_aspath.h>

Collaboration diagram for AsPath4Byte:

Public Member Functions

 AsPath4Byte (AsPath4ByteDB *aspath_db)
 
 AsPath4Byte (AsPath4ByteDB *aspath_db, const AsPath4ByteSpec &spec)
 
virtual ~AsPath4Byte ()
 
virtual void Remove ()
 
int AsCount () const
 
int CompareTo (const AsPath4Byte &rhs) const
 
const AsPath4ByteSpecpath () const
 
bool empty () const
 
as_t neighbor_as () const
 

Private Attributes

tbb::atomic< int > refcount_
 
AsPath4ByteDBaspath_db_
 
AsPath4ByteSpec path_
 

Friends

std::size_t hash_value (const AsPath4Byte &as_path)
 
int intrusive_ptr_add_ref (const AsPath4Byte *cpath)
 
int intrusive_ptr_del_ref (const AsPath4Byte *cpath)
 
void intrusive_ptr_release (const AsPath4Byte *cpath)
 

Detailed Description

Definition at line 238 of file bgp_aspath.h.

Constructor & Destructor Documentation

AsPath4Byte::AsPath4Byte ( AsPath4ByteDB aspath_db)
inlineexplicit

Definition at line 240 of file bgp_aspath.h.

AsPath4Byte::AsPath4Byte ( AsPath4ByteDB aspath_db,
const AsPath4ByteSpec spec 
)
inlineexplicit

Definition at line 243 of file bgp_aspath.h.

virtual AsPath4Byte::~AsPath4Byte ( )
inlinevirtual

Definition at line 253 of file bgp_aspath.h.

Member Function Documentation

int AsPath4Byte::AsCount ( ) const
inline

Definition at line 255 of file bgp_aspath.h.

int AsPath4Byte::CompareTo ( const AsPath4Byte rhs) const
inline

Definition at line 270 of file bgp_aspath.h.

bool AsPath4Byte::empty ( ) const
inline

Definition at line 286 of file bgp_aspath.h.

as_t AsPath4Byte::neighbor_as ( ) const
inline

Definition at line 287 of file bgp_aspath.h.

Here is the call graph for this function:

const AsPath4ByteSpec& AsPath4Byte::path ( ) const
inline

Definition at line 285 of file bgp_aspath.h.

void AsPath4Byte::Remove ( )
virtual

Definition at line 499 of file bgp_aspath.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

std::size_t hash_value ( const AsPath4Byte as_path)
friend

Definition at line 289 of file bgp_aspath.h.

int intrusive_ptr_add_ref ( const AsPath4Byte cpath)
friend

Definition at line 305 of file bgp_aspath.h.

int intrusive_ptr_del_ref ( const AsPath4Byte cpath)
friend

Definition at line 309 of file bgp_aspath.h.

void intrusive_ptr_release ( const AsPath4Byte cpath)
friend

Definition at line 313 of file bgp_aspath.h.

Member Data Documentation

AsPath4ByteDB* AsPath4Byte::aspath_db_
private

Definition at line 301 of file bgp_aspath.h.

AsPath4ByteSpec AsPath4Byte::path_
private

Definition at line 302 of file bgp_aspath.h.

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

Definition at line 300 of file bgp_aspath.h.


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