dtn::WildcardScheme Class Reference

#include <WildcardScheme.h>

Inheritance diagram for dtn::WildcardScheme:

dtn::Scheme

List of all members.


Detailed Description

Definition at line 26 of file WildcardScheme.h.


Public Member Functions

virtual bool validate (const std::string &ssp, bool is_pattern=false)
 Validate that the given ssp is legitimate for this scheme.
virtual bool match (const EndpointIDPattern &pattern, const EndpointID &eid)
 Match the pattern to the endpoint id in a scheme-specific manner.

Private Member Functions

 WildcardScheme ()

Friends

class oasys::Singleton< WildcardScheme >

Constructor & Destructor Documentation

dtn::WildcardScheme::WildcardScheme (  )  [inline, private]

Definition at line 46 of file WildcardScheme.h.


Member Function Documentation

bool dtn::WildcardScheme::validate ( const std::string &  ssp,
bool  is_pattern = false 
) [virtual]

Validate that the given ssp is legitimate for this scheme.

If the 'is_pattern' paraemeter is true, then the ssp is being validated as an EndpointIDPattern.

Returns:
true if valid

Implements dtn::Scheme.

Definition at line 34 of file WildcardScheme.cc.

bool dtn::WildcardScheme::match ( const EndpointIDPattern pattern,
const EndpointID eid 
) [virtual]

Match the pattern to the endpoint id in a scheme-specific manner.

Implements dtn::Scheme.

Definition at line 50 of file WildcardScheme.cc.

References ASSERT, and dtn::EndpointID::scheme().


Friends And Related Function Documentation

friend class oasys::Singleton< WildcardScheme > [friend]

Definition at line 45 of file WildcardScheme.h.


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 08:43:47 2007 for DTN Reference Implementation by  doxygen 1.5.3