#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 220 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 225 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 233 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 242 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 253 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 152 of file EndpointID.cc.
References dtn::EndpointID::known_scheme(), dtn::Scheme::match(), and dtn::EndpointID::scheme().
Referenced by dtn::ProphetAckList::fetch(), dtn::RouteTable::get_matching(), dtn::RegistrationTable::get_matching(), dtn::ProphetEncounter::handle_bundle_received(), dtn::BundleDaemon::handle_registration_added(), dtn::FwdDeciderGTMXPLUS::operator()(), dtn::FwdDeciderGRTRPLUS::operator()(), dtn::FwdDeciderGTMX::operator()(), dtn::FwdDeciderGRTR::operator()(), and dtn::ProphetNode::route_to_me().