OpenSDN source code
|
#include <community.h>
Public Types | |
typedef std::vector< uint32_t > | CommunityList |
Public Member Functions | |
Community (CommunityDB *comm_db) | |
Community (const Community &rhs) | |
Community (CommunityDB *comm_db, const CommunitySpec spec) | |
virtual | ~Community () |
virtual void | Remove () |
int | CompareTo (const Community &rhs) const |
bool | ContainsValue (uint32_t value) const |
void | BuildStringList (std::vector< std::string > *list) const |
const std::vector< uint32_t > & | communities () const |
Private Member Functions | |
void | Append (uint32_t value) |
void | Append (const std::vector< uint32_t > &communities) |
void | Set (const std::vector< uint32_t > &communities) |
void | Remove (const std::vector< uint32_t > &communities) |
Private Attributes | |
tbb::atomic< int > | refcount_ |
CommunityDB * | comm_db_ |
std::vector< uint32_t > | communities_ |
Friends | |
class | CommunityDB |
class | BgpAttrTest |
std::size_t | hash_value (Community const &comm) |
int | intrusive_ptr_add_ref (const Community *ccomm) |
int | intrusive_ptr_del_ref (const Community *ccomm) |
void | intrusive_ptr_release (const Community *ccomm) |
Definition at line 46 of file community.h.
typedef std::vector<uint32_t> Community::CommunityList |
Definition at line 48 of file community.h.
|
inlineexplicit |
Definition at line 49 of file community.h.
|
inlineexplicit |
Definition at line 53 of file community.h.
|
explicit |
Definition at line 60 of file community.cc.
|
inlinevirtual |
Definition at line 58 of file community.h.
|
private |
|
private |
Definition at line 85 of file community.cc.
void Community::BuildStringList | ( | std::vector< std::string > * | list | ) | const |
|
inline |
Definition at line 65 of file community.h.
int Community::CompareTo | ( | const Community & | rhs | ) | const |
Definition at line 69 of file community.cc.
bool Community::ContainsValue | ( | uint32_t | value | ) | const |
Definition at line 113 of file community.cc.
|
virtual |
|
private |
Definition at line 102 of file community.cc.
|
private |
Definition at line 95 of file community.cc.
|
friend |
Definition at line 79 of file community.h.
|
friend |
Definition at line 78 of file community.h.
|
friend |
Definition at line 67 of file community.h.
|
friend |
Definition at line 91 of file community.h.
|
friend |
Definition at line 95 of file community.h.
|
friend |
Definition at line 99 of file community.h.
|
private |
Definition at line 87 of file community.h.
|
private |
Definition at line 88 of file community.h.
|
mutableprivate |
Definition at line 86 of file community.h.