IBR-DTNSuite
0.12
|
#include <SDNV.h>
Public Member Functions | |
SDNV (const E value) | |
SDNV () | |
~SDNV () | |
size_t | getLength () const |
template<typename T > | |
T | get () const |
const E & | get () const |
const SDNV & | operator= (const E value) |
bool | operator== (const E value) const |
bool | operator== (const SDNV< E > &value) const |
bool | operator!= (const E value) const |
bool | operator!= (const SDNV< E > &value) const |
SDNV< E > | operator+ (const E value) |
SDNV< E > | operator+ (const SDNV< E > &value) |
SDNV< E > & | operator+= (const E value) |
SDNV< E > & | operator+= (const SDNV< E > &value) |
SDNV< E > & | operator++ () |
SDNV< E > | operator++ (int) |
SDNV< E > | operator- (const E value) |
SDNV< E > | operator- (const SDNV< E > &value) |
SDNV< E > & | operator-= (const E value) |
SDNV< E > & | operator-= (const SDNV< E > &value) |
SDNV< E > & | operator-- () |
SDNV< E > | operator-- (int) |
SDNV< E > | operator/ (const E value) |
SDNV< E > | operator/ (const SDNV< E > &value) |
SDNV< E > & | operator/= (const E value) |
SDNV< E > & | operator/= (const SDNV< E > &value) |
SDNV< E > | operator* (const E value) |
SDNV< E > | operator* (const SDNV< E > &value) |
SDNV< E > & | operator*= (const E value) |
SDNV< E > & | operator*= (const SDNV< E > &value) |
bool | operator& (const SDNV< E > &value) const |
bool | operator| (const SDNV< E > &value) const |
SDNV< E > & | operator&= (const SDNV< E > &value) |
SDNV< E > & | operator|= (const SDNV< E > &value) |
bool | operator< (const E value) const |
bool | operator<= (const E value) const |
bool | operator> (const E value) const |
bool | operator>= (const E value) const |
bool | operator< (const SDNV< E > &value) const |
bool | operator<= (const SDNV< E > &value) const |
bool | operator> (const SDNV< E > &value) const |
bool | operator>= (const SDNV< E > &value) const |
SDNV< E > & | random () |
std::string | toString () const |
void | fromString (const std::string &data) |
void | read (std::istream &stream) |
void | encode (std::ostream &stream) const |
void | decode (std::istream &stream) |
Static Public Member Functions | |
static SDNV< E > | max () |
Static Public Attributes | |
static const size_t | MAX_LENGTH = 10 |
Friends | |
SDNV< E > | operator+ (const SDNV< E > &left, const SDNV< E > &right) |
SDNV< E > | operator+ (const SDNV< E > &left, const E right) |
SDNV< E > | operator- (const SDNV< E > &left, const SDNV< E > &right) |
SDNV< E > | operator- (const SDNV< E > &left, const E right) |
SDNV< E > | operator/ (const SDNV< E > &left, const SDNV< E > &right) |
SDNV< E > | operator/ (const SDNV< E > &left, const E right) |
SDNV< E > | operator* (const SDNV< E > &left, const SDNV< E > &right) |
SDNV< E > | operator* (const SDNV< E > &left, const E right) |
std::ostream & | operator<< (std::ostream &stream, const dtn::data::SDNV< E > &obj) |
std::istream & | operator>> (std::istream &stream, dtn::data::SDNV< E > &obj) |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 450 of file SDNV.h.
Referenced by dtn::routing::operator>>().
|
inline |
Definition at line 423 of file SDNV.h.
Referenced by dtn::routing::operator<<().
|
inline |
Definition at line 414 of file SDNV.h.
Referenced by dtn::api::PlainDeserializer::operator>>().
Definition at line 113 of file SDNV.h.
Referenced by dtn::routing::DeliveryPredictabilityMap::age(), dtn::daemon::Debugger::callbackBundleReceived(), dtn::daemon::DTNTPWorker::callbackBundleReceived(), dtn::core::FragmentManager::componentRun(), dtn::data::Dictionary::get(), dtn::data::CompressedPayloadBlock::getAlgorithm(), dtn::utils::Clock::getdtntimeofday(), dtn::security::SecurityBlock::getLength(), dtn::data::EID::getSSP(), dtn::daemon::NativeDaemon::getStats(), dtn::data::EID::getString(), dtn::routing::NodeHandshake::getType(), dtn::streams::operator<<(), dtn::data::operator<<(), dtn::security::MutableSerializer::operator<<(), dtn::data::operator>>(), dtn::net::operator>>(), dtn::net::EMailConvergenceLayer::raiseEvent(), dtn::data::BundleID::raw(), dtn::storage::SQLiteDatabase::store(), and dtn::core::WallClock::timeout().
|
inline |
|
inline |
Determine the encoded length of the value.
Definition at line 99 of file SDNV.h.
Referenced by dtn::data::SDNV< int >::encode(), dtn::routing::DeliveryPredictabilityMap::getLength(), dtn::data::TrackingBlock::getLength(), dtn::data::BundleString::getLength(), dtn::data::DTNTime::getLength(), dtn::data::AgeBlock::getLength(), dtn::data::SchedulingBlock::getLength(), dtn::data::ScopeControlHopLimitBlock::getLength(), dtn::data::StreamBlock::getLength(), dtn::data::CompressedPayloadBlock::getLength(), dtn::data::DefaultSerializer::getLength(), dtn::data::SeparateSerializer::getLength(), dtn::security::SecurityBlock::getLength(), dtn::security::BundleAuthenticationBlock::getSecurityResultSize(), dtn::data::DefaultSerializer::operator<<(), dtn::net::operator<<(), dtn::data::AgeBlock::serialize(), and dtn::data::CompressedPayloadBlock::serialize().
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 399 of file SDNV.h.
Referenced by dtn::security::SecurityBlock::createCorrelatorValue().
|
inline |
Definition at line 419 of file SDNV.h.
Referenced by dtn::data::EID::getApplicationNumber(), dtn::streams::operator>>(), and dtn::api::OrderedStreamHandler::run().
|
inline |
Definition at line 408 of file SDNV.h.
Referenced by dtn::data::EID::getApplication(), dtn::data::EID::getHost(), dtn::core::TimeEvent::getMessage(), dtn::routing::StaticRouteChangeEvent::getMessage(), main(), dtn::daemon::DTNTPWorker::onUpdateBeacon(), dtn::api::PlainSerializer::operator<<(), dtn::core::operator<<(), dtn::api::EventConnection::raiseEvent(), dtn::data::EID::setApplication(), dtn::data::BundleID::toString(), and dtn::routing::NodeHandshake::toString().
|
friend |
|
friend |
|
static |
The maximum length for this SDNV implementation is 10 bytes, since the maximum value is 64 bits wide.
Definition at line 76 of file SDNV.h.
Referenced by dtn::data::SDNV< int >::decode(), and dtn::data::SDNV< int >::encode().