Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::DnsSDMap Struct Reference
+ Inheritance diagram for Slic3r::DnsSDMap:
+ Collaboration diagram for Slic3r::DnsSDMap:

Public Member Functions

void insert_srv (std::string &&name, DnsRR_SRV &&srv)
 
void insert_txt (std::string &&name, DnsRR_TXT &&txt)
 

Public Attributes

keys
 STL member.
 
elements
 STL member.
 

Detailed Description

Member Function Documentation

◆ insert_srv()

void Slic3r::DnsSDMap::insert_srv ( std::string &&  name,
DnsRR_SRV &&  srv 
)
inline
365 {
366 auto hit = this->find(name);
367 if (hit != this->end()) {
368 hit->second.srv = std::move(srv);
369 } else {
370 DnsSDPair pair;
371 pair.srv = std::move(srv);
372 this->insert(std::make_pair(std::move(name), std::move(pair)));
373 }
374 }
IGL_INLINE void find(const Eigen::SparseMatrix< T > &X, Eigen::DenseBase< DerivedI > &I, Eigen::DenseBase< DerivedJ > &J, Eigen::DenseBase< DerivedV > &V)
Definition find.cpp:18
S::iterator end(S &sh, const PathTag &)
Definition geometry_traits.hpp:620

References Slic3r::DnsSDPair::srv.

Referenced by Slic3r::DnsMessage::parse_rr().

+ Here is the caller graph for this function:

◆ insert_txt()

void Slic3r::DnsSDMap::insert_txt ( std::string &&  name,
DnsRR_TXT &&  txt 
)
inline
377 {
378 auto hit = this->find(name);
379 if (hit != this->end()) {
380 hit->second.txt = std::move(txt);
381 } else {
382 DnsSDPair pair;
383 pair.txt = std::move(txt);
384 this->insert(std::make_pair(std::move(name), std::move(pair)));
385 }
386 }

References Slic3r::DnsSDPair::txt.

Referenced by Slic3r::DnsMessage::parse_rr().

+ Here is the caller graph for this function:

Member Data Documentation

◆ elements

T std::map< K, T >::elements
inherited

STL member.

◆ keys

K std::map< K, T >::keys
inherited

STL member.


The documentation for this struct was generated from the following file: