#include <single_value_warehouse.h>
|
| SingleValueWarehouse () |
|
virtual | ~SingleValueWarehouse () |
|
bool | Add (uint64_t key, const RolePtr &role, bool ignore_if_exist=true) override |
|
void | Clear () override |
|
std::size_t | Size () override |
|
void | Remove (uint64_t key) override |
|
void | Remove (uint64_t key, const RolePtr &role) override |
|
void | Remove (const proto::RoleAttributes &target_attr) override |
|
bool | Search (uint64_t key) override |
|
bool | Search (uint64_t key, RolePtr *first_matched_role) override |
|
bool | Search (uint64_t key, proto::RoleAttributes *first_matched_role_attr) override |
|
bool | Search (uint64_t key, std::vector< RolePtr > *matched_roles) override |
|
bool | Search (uint64_t key, std::vector< proto::RoleAttributes > *matched_roles_attr) override |
|
bool | Search (const proto::RoleAttributes &target_attr) override |
|
bool | Search (const proto::RoleAttributes &target_attr, RolePtr *first_matched) override |
|
bool | Search (const proto::RoleAttributes &target_attr, proto::RoleAttributes *first_matched_role_attr) override |
|
bool | Search (const proto::RoleAttributes &target_attr, std::vector< RolePtr > *matched_roles) override |
|
bool | Search (const proto::RoleAttributes &target_attr, std::vector< proto::RoleAttributes > *matched_roles_attr) override |
|
void | GetAllRoles (std::vector< RolePtr > *roles) override |
|
void | GetAllRoles (std::vector< proto::RoleAttributes > *roles_attr) override |
|
| WarehouseBase () |
|
virtual | ~WarehouseBase () |
|
◆ RoleMap
◆ SingleValueWarehouse()
apollo::cyber::service_discovery::SingleValueWarehouse::SingleValueWarehouse |
( |
| ) |
|
|
inline |
◆ ~SingleValueWarehouse()
virtual apollo::cyber::service_discovery::SingleValueWarehouse::~SingleValueWarehouse |
( |
| ) |
|
|
inlinevirtual |
◆ Add()
bool apollo::cyber::service_discovery::SingleValueWarehouse::Add |
( |
uint64_t |
key, |
|
|
const RolePtr & |
role, |
|
|
bool |
ignore_if_exist = true |
|
) |
| |
|
overridevirtual |
◆ Clear()
void apollo::cyber::service_discovery::SingleValueWarehouse::Clear |
( |
| ) |
|
|
overridevirtual |
◆ GetAllRoles() [1/2]
void apollo::cyber::service_discovery::SingleValueWarehouse::GetAllRoles |
( |
std::vector< RolePtr > * |
roles | ) |
|
|
overridevirtual |
◆ GetAllRoles() [2/2]
void apollo::cyber::service_discovery::SingleValueWarehouse::GetAllRoles |
( |
std::vector< proto::RoleAttributes > * |
roles_attr | ) |
|
|
overridevirtual |
◆ Remove() [1/3]
void apollo::cyber::service_discovery::SingleValueWarehouse::Remove |
( |
uint64_t |
key | ) |
|
|
overridevirtual |
◆ Remove() [2/3]
void apollo::cyber::service_discovery::SingleValueWarehouse::Remove |
( |
uint64_t |
key, |
|
|
const RolePtr & |
role |
|
) |
| |
|
overridevirtual |
◆ Remove() [3/3]
void apollo::cyber::service_discovery::SingleValueWarehouse::Remove |
( |
const proto::RoleAttributes & |
target_attr | ) |
|
|
overridevirtual |
◆ Search() [1/10]
bool apollo::cyber::service_discovery::SingleValueWarehouse::Search |
( |
uint64_t |
key | ) |
|
|
overridevirtual |
◆ Search() [2/10]
bool apollo::cyber::service_discovery::SingleValueWarehouse::Search |
( |
uint64_t |
key, |
|
|
RolePtr * |
first_matched_role |
|
) |
| |
|
overridevirtual |
◆ Search() [3/10]
bool apollo::cyber::service_discovery::SingleValueWarehouse::Search |
( |
uint64_t |
key, |
|
|
proto::RoleAttributes * |
first_matched_role_attr |
|
) |
| |
|
overridevirtual |
◆ Search() [4/10]
bool apollo::cyber::service_discovery::SingleValueWarehouse::Search |
( |
uint64_t |
key, |
|
|
std::vector< RolePtr > * |
matched_roles |
|
) |
| |
|
overridevirtual |
◆ Search() [5/10]
bool apollo::cyber::service_discovery::SingleValueWarehouse::Search |
( |
uint64_t |
key, |
|
|
std::vector< proto::RoleAttributes > * |
matched_roles_attr |
|
) |
| |
|
overridevirtual |
◆ Search() [6/10]
bool apollo::cyber::service_discovery::SingleValueWarehouse::Search |
( |
const proto::RoleAttributes & |
target_attr | ) |
|
|
overridevirtual |
◆ Search() [7/10]
bool apollo::cyber::service_discovery::SingleValueWarehouse::Search |
( |
const proto::RoleAttributes & |
target_attr, |
|
|
RolePtr * |
first_matched |
|
) |
| |
|
overridevirtual |
◆ Search() [8/10]
bool apollo::cyber::service_discovery::SingleValueWarehouse::Search |
( |
const proto::RoleAttributes & |
target_attr, |
|
|
proto::RoleAttributes * |
first_matched_role_attr |
|
) |
| |
|
overridevirtual |
◆ Search() [9/10]
bool apollo::cyber::service_discovery::SingleValueWarehouse::Search |
( |
const proto::RoleAttributes & |
target_attr, |
|
|
std::vector< RolePtr > * |
matched_roles |
|
) |
| |
|
overridevirtual |
◆ Search() [10/10]
bool apollo::cyber::service_discovery::SingleValueWarehouse::Search |
( |
const proto::RoleAttributes & |
target_attr, |
|
|
std::vector< proto::RoleAttributes > * |
matched_roles_attr |
|
) |
| |
|
overridevirtual |
◆ Size()
std::size_t apollo::cyber::service_discovery::SingleValueWarehouse::Size |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: