Home
last modified time | relevance | path

Searched refs:schemes_ (Results 1 – 3 of 3) sorted by relevance

/base/notification/common_event_service/frameworks/native/src/
Dmatching_skills.cpp29 schemes_ = matchingSkills.schemes_; in MatchingSkills()
113 if ((index >= 0) && (index < schemes_.size())) { in GetScheme()
114 schemes = schemes_[index]; in GetScheme()
121 auto it = std::find(schemes_.begin(), schemes_.end(), scheme); in AddScheme()
122 if (it == schemes_.end()) { in AddScheme()
123 schemes_.emplace_back(scheme); in AddScheme()
129 return std::find(schemes_.begin(), schemes_.end(), scheme) != schemes_.end(); in HasScheme()
134 auto it = std::find(schemes_.cbegin(), schemes_.cend(), scheme); in RemoveScheme()
135 if (it != schemes_.cend()) { in RemoveScheme()
136 schemes_.erase(it); in RemoveScheme()
[all …]
/base/notification/common_event_service/interfaces/inner_api/
Dmatching_skills.h218 std::vector<std::string> schemes_; variable
/base/notification/common_event_service/frameworks/native/test/unittest/
Dmatching_skills_test.cpp346 matchSkills.schemes_.emplace_back(event);
364 matchSkills.schemes_.emplace_back(event);
382 matchSkills.schemes_.emplace_back(event);