IBR-DTNSuite
0.8
|
#include <Node.h>
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 &) |
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 |
||
) |
bool dtn::core::Node::Attribute::operator< | ( | const Attribute & | other | ) | const |
bool dtn::core::Node::Attribute::operator== | ( | const Attribute & | other | ) | const |
bool dtn::core::Node::Attribute::operator== | ( | const std::string & | name | ) | const |
std::ostream& operator<< | ( | std::ostream & | stream, |
const Node::Attribute & | a | ||
) | [friend] |
const size_t dtn::core::Node::Attribute::expire |
Definition at line 88 of file Node.h.
Referenced by dtn::core::Node::expire(), and dtn::core::operator<<().
const std::string dtn::core::Node::Attribute::name |
Definition at line 86 of file Node.h.
Referenced by operator<(), dtn::core::operator<<(), and operator==().
const int dtn::core::Node::Attribute::priority |
Definition at line 89 of file Node.h.
Referenced by dtn::core::compare_attr_priority(), and dtn::core::operator<<().
Definition at line 85 of file Node.h.
Referenced by operator<(), dtn::core::operator<<(), and operator==().
const std::string dtn::core::Node::Attribute::value |
Definition at line 87 of file Node.h.
Referenced by dtn::core::operator<<().