5 #ifndef SRC_BGP_EXTENDED_COMMUNITY_SUB_CLUSTER_H_
6 #define SRC_BGP_EXTENDED_COMMUNITY_SUB_CLUSTER_H_
8 #include <boost/array.hpp>
9 #include <boost/system/error_code.hpp>
51 boost::system::error_code *error = NULL);
52 uint32_t
GetId()
const;
59 #endif // SRC_BGP_EXTENDED_COMMUNITY_SUB_CLUSTER_H_
static SubCluster null_sub_cluster
const uint64_t GetExtCommunityValue() const
bool operator>(const SubCluster &rhs) const
static uint64_t get_value(const uint8_t *data, int size)
bool operator!=(const SubCluster &rhs) const
boost::array< uint8_t, kSize > bytes_type
static SubCluster FromString(const std::string &str, boost::system::error_code *error=NULL)
bool operator==(const SubCluster &rhs) const
bool operator<(const SubCluster &rhs) const
const bytes_type & GetExtCommunity() const
std::string ToString() const