◆ insert_srv()
| void Slic3r::DnsSDMap::insert_srv |
( |
std::string && | name, |
|
|
DnsRR_SRV && | srv ) |
|
inline |
387 {
388 auto hit = this->
find(name);
389 if (hit != this->
end()) {
390 hit->second.srv = std::move(srv);
391 } else {
392 DnsSDPair pair;
393 pair.srv = std::move(srv);
394 this->insert(std::make_pair(std::move(name), std::move(pair)));
395 }
396 }
T * end(Slic3r::Mat< N, M, T > &mat)
Definition Point.hpp:841
RaycastManager::TrItems::iterator find(RaycastManager::TrItems &items, const RaycastManager::TrKey &key)
Definition RaycastManager.cpp:298
References Slic3r::DnsSDPair::srv.
Referenced by Slic3r::DnsMessage::parse_rr().
◆ insert_txt()
| void Slic3r::DnsSDMap::insert_txt |
( |
std::string && | name, |
|
|
DnsRR_TXT && | txt ) |
|
inline |
399 {
400 auto hit = this->
find(name);
401 if (hit != this->
end()) {
402 hit->second.txt = std::move(txt);
403 } else {
404 DnsSDPair pair;
405 pair.txt = std::move(txt);
406 this->insert(std::make_pair(std::move(name), std::move(pair)));
407 }
408 }
References Slic3r::DnsSDPair::txt.
Referenced by Slic3r::DnsMessage::parse_rr().
◆ elements
| T std::map< K, T >::elements |
|
inherited |
◆ keys
The documentation for this struct was generated from the following file:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/Bonjour.cpp