IBR-DTNSuite
0.12
|
#include <Node.h>
Public Member Functions | |
Attribute (const Type t, const std::string &name, const std::string &value, const dtn::data::Number &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 | |
Type | type |
std::string | name |
std::string | value |
dtn::data::Timestamp | expire |
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 dtn::data::Number & | 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 |
|
friend |
dtn::data::Timestamp dtn::core::Node::Attribute::expire |
Definition at line 113 of file Node.h.
Referenced by dtn::core::Node::expire(), and dtn::core::operator<<().
std::string dtn::core::Node::Attribute::name |
Definition at line 111 of file Node.h.
Referenced by operator<(), dtn::core::operator<<(), and operator==().
int dtn::core::Node::Attribute::priority |
Definition at line 114 of file Node.h.
Referenced by dtn::core::compare_attr_priority(), and dtn::core::operator<<().
Type dtn::core::Node::Attribute::type |
Definition at line 110 of file Node.h.
Referenced by operator<(), dtn::core::operator<<(), and operator==().
std::string dtn::core::Node::Attribute::value |
Definition at line 112 of file Node.h.
Referenced by dtn::core::operator<<().