inet::InterfaceMatcher::Selector::Selector |
( |
const char * |
hostPattern, |
|
|
const char * |
namePattern, |
|
|
const char * |
towardsPattern, |
|
|
const InterfaceMatcher * |
parent |
|
) |
| |
Referenced by inet::InterfaceMatcher::InterfaceMatcher().
Matcher hostMatcher
Definition: InterfaceMatcher.h:65
const InterfaceMatcher * parent
Definition: InterfaceMatcher.h:68
Matcher nameMatcher
Definition: InterfaceMatcher.h:66
Matcher towardsMatcher
Definition: InterfaceMatcher.h:67
bool inet::InterfaceMatcher::Selector::matches |
( |
const InterfaceEntry * |
ie | ) |
|
Referenced by inet::InterfaceMatcher::findMatchingSelector().
68 cModule *hostModule = ie->getInterfaceTable()->getHostModule();
69 std::string hostFullPath = hostModule->getFullPath();
70 std::string hostShortenedFullPath = hostFullPath.substr(hostFullPath.find(
'.') + 1);
bool matchesAny() const
Definition: InterfaceMatcher.h:61
Matcher hostMatcher
Definition: InterfaceMatcher.h:65
const InterfaceMatcher * parent
Definition: InterfaceMatcher.h:68
Matcher nameMatcher
Definition: InterfaceMatcher.h:66
Matcher towardsMatcher
Definition: InterfaceMatcher.h:67
bool linkContainsMatchingHost(const InterfaceEntry *ie, const Matcher &hostMatcher) const
Definition: InterfaceMatcher.cc:134
bool matches(const char *s) const
Definition: InterfaceMatcher.cc:49
Matcher inet::InterfaceMatcher::Selector::hostMatcher |
Matcher inet::InterfaceMatcher::Selector::nameMatcher |
Matcher inet::InterfaceMatcher::Selector::towardsMatcher |
The documentation for this struct was generated from the following files: