MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / domainToRepo

Method domainToRepo

tests/DCPS/MultiRepoTest/TestConfig.cpp:285–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285long
286TestConfig::domainToRepo( int domain) const
287{
288 DomainRepoMap::const_iterator where = this->domainRepoMap_.find( domain);
289 if( where == this->domainRepoMap_.end()) {
290 return -1; // MAGIC: -1 == DEFAULT_REPO
291
292 } else {
293 return where->second;
294 }
295}

Callers 1

TestMonitorMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected