Home
last modified time | relevance | path

Searched refs:reqs (Results 1 - 2 of 2) sorted by relevance

/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dinterface_utils.h89 * @param reqs A uid list which must be found from <param>uids</param>.
90 * @param strict If true, all of reqs must be found from uids. If false, one match is enough.
91 * @return True if uids fulfills reqs, false otherwise.
94 const BASE_NS::vector<BASE_NS::Uid>& uids, const BASE_NS::vector<BASE_NS::Uid>& reqs, bool strict) noexcept
96 if (uids.empty() && !reqs.empty()) {
99 if (reqs.empty()) {
102 size_t matches = strict ? reqs.size() : 1;
104 for (auto&& req : reqs) {
/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dobject.cpp109 const auto reqs = req->GetRequiredInterfaces(); in CheckRequiredInterfaces() local
110 if (reqs.empty()) { in CheckRequiredInterfaces()
115 if (std::find(reqs.begin(), reqs.end(), uid) != reqs.end()) { in CheckRequiredInterfaces()

Completed in 1 milliseconds