#include <EndpointID.h>
Inheritance diagram for dtn::EndpointIDPattern:
those containing some form of wildcarding) as opposed to basic endpoint IDs to help keep it straight in the code.
Definition at line 231 of file EndpointID.h.
Public Member Functions | |
EndpointIDPattern () | |
Default constructor. | |
EndpointIDPattern (const std::string &str) | |
Construct the endpoint id pattern from the given string. | |
EndpointIDPattern (const EndpointIDPattern &other) | |
Construct the endpoint id pattern from another. | |
EndpointIDPattern (const EndpointID &other) | |
Construct the endpoint id pattern from another that is not necessarily a pattern. | |
bool | match (const EndpointID &eid) const |
Shortcut to the matching functionality implemented by the scheme. |
dtn::EndpointIDPattern::EndpointIDPattern | ( | ) | [inline] |
Default constructor.
Definition at line 236 of file EndpointID.h.
References dtn::EndpointID::is_pattern_.
dtn::EndpointIDPattern::EndpointIDPattern | ( | const std::string & | str | ) | [inline] |
Construct the endpoint id pattern from the given string.
Definition at line 244 of file EndpointID.h.
References dtn::EndpointID::assign(), and dtn::EndpointID::is_pattern_.
dtn::EndpointIDPattern::EndpointIDPattern | ( | const EndpointIDPattern & | other | ) | [inline] |
Construct the endpoint id pattern from another.
Definition at line 253 of file EndpointID.h.
References dtn::EndpointID::assign(), and dtn::EndpointID::is_pattern_.
dtn::EndpointIDPattern::EndpointIDPattern | ( | const EndpointID & | other | ) | [inline] |
Construct the endpoint id pattern from another that is not necessarily a pattern.
Definition at line 264 of file EndpointID.h.
References dtn::EndpointID::assign(), and dtn::EndpointID::is_pattern_.
bool dtn::EndpointIDPattern::match | ( | const EndpointID & | eid | ) | const |
Shortcut to the matching functionality implemented by the scheme.
Definition at line 174 of file EndpointID.cc.
References dtn::EndpointID::known_scheme(), dtn::Scheme::match(), and dtn::EndpointID::scheme().
Referenced by dtn::RouteTable::get_matching(), dtn::RegistrationTable::get_matching(), and dtn::BundleDaemon::handle_registration_added().