IBR-DTNSuite  0.8
dtn::core::Node::Attribute Class Reference

#include <Node.h>

List of all members.

Public Member Functions

 Attribute (const Type t, const std::string &name, const std::string &value, const size_t timeout=0, const int priority=0)
 ~Attribute ()
bool operator< (const Attribute &other) const
bool operator== (const Attribute &other) const
bool operator== (const std::string &name) const

Public Attributes

const Type type
const std::string name
const std::string value
const size_t expire
const int priority

Friends

std::ostream & operator<< (std::ostream &, const Node::Attribute &)

Detailed Description

Definition at line 79 of file Node.h.


Constructor & Destructor Documentation

dtn::core::Node::Attribute::Attribute ( const Type  t,
const std::string &  name,
const std::string &  value,
const size_t  timeout = 0,
const int  priority = 0 
)

Definition at line 83 of file Node.cpp.

Definition at line 88 of file Node.cpp.


Member Function Documentation

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

Definition at line 92 of file Node.cpp.

References name, and type.

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

Definition at line 100 of file Node.cpp.

References name, and type.

bool dtn::core::Node::Attribute::operator== ( const std::string &  name) const

Definition at line 105 of file Node.cpp.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const Node::Attribute a 
) [friend]

Definition at line 110 of file Node.cpp.


Member Data Documentation

Definition at line 88 of file Node.h.

Referenced by dtn::core::Node::expire(), and dtn::core::operator<<().

Definition at line 86 of file Node.h.

Referenced by operator<(), dtn::core::operator<<(), and operator==().

Definition at line 85 of file Node.h.

Referenced by operator<(), dtn::core::operator<<(), and operator==().

Definition at line 87 of file Node.h.

Referenced by dtn::core::operator<<().


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