IBR-DTNSuite 0.6

dtn::core::Node::URI Class Reference

#include <Node.h>

List of all members.

Public Member Functions

 URI (const std::string &uri, const Protocol p)
 ~URI ()
void decode (std::string &address, unsigned int &port) const
bool operator< (const URI &other) const
bool operator== (const URI &other) const
bool operator== (const Node::Protocol &p) const

Public Attributes

const Protocol protocol
const std::string value

Detailed Description

Definition at line 49 of file Node.h.


Constructor & Destructor Documentation

dtn::core::Node::URI::URI ( const std::string &  uri,
const Protocol  p 
)

Definition at line 15 of file Node.cpp.

dtn::core::Node::URI::~URI ( )

Definition at line 20 of file Node.cpp.


Member Function Documentation

void dtn::core::Node::URI::decode ( std::string &  address,
unsigned int &  port 
) const

Definition at line 24 of file Node.cpp.

References dtn::utils::Utils::tokenize().

Referenced by dtn::net::UDPConvergenceLayer::queue(), dtn::net::LOWPANConvergenceLayer::queue(), and dtn::net::TCPConnection::setup().

Here is the call graph for this function:

bool dtn::core::Node::URI::operator< ( const URI other) const

Definition at line 50 of file Node.cpp.

References protocol, and value.

bool dtn::core::Node::URI::operator== ( const URI other) const

Definition at line 58 of file Node.cpp.

References protocol, and value.

bool dtn::core::Node::URI::operator== ( const Node::Protocol p) const

Definition at line 63 of file Node.cpp.


Member Data Documentation

Definition at line 55 of file Node.h.

Referenced by operator<(), and operator==().

const std::string dtn::core::Node::URI::value

Definition at line 56 of file Node.h.

Referenced by operator<(), and operator==().


The documentation for this class was generated from the following files: