NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::Interest::Nonce Class Referencefinal

#include <interest.hpp>

Inheritance diagram for ndn::Interest::Nonce:
Collaboration diagram for ndn::Interest::Nonce:

Public Member Functions

 Nonce ()=default
 
 Nonce (uint32_t n) noexcept
 
 Nonce (uint8_t n1, uint8_t n2, uint8_t n3, uint8_t n4) noexcept
 

Friends

bool operator== (const Nonce &lhs, const Nonce &rhs) noexcept
 
bool operator!= (const Nonce &lhs, const Nonce &rhs) noexcept
 
std::ostream & operator<< (std::ostream &os, const Nonce &nonce)
 

Detailed Description

Definition at line 57 of file interest.hpp.

Constructor & Destructor Documentation

◆ Nonce() [1/3]

ndn::Interest::Nonce::Nonce ( )
default

◆ Nonce() [2/3]

ndn::Interest::Nonce::Nonce ( uint32_t  n)
inlinenoexcept

Definition at line 65 of file interest.hpp.

◆ Nonce() [3/3]

ndn::Interest::Nonce::Nonce ( uint8_t  n1,
uint8_t  n2,
uint8_t  n3,
uint8_t  n4 
)
inlinenoexcept

Definition at line 71 of file interest.hpp.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const Nonce lhs,
const Nonce rhs 
)
friend

Definition at line 84 of file interest.hpp.

◆ operator!=

bool operator!= ( const Nonce lhs,
const Nonce rhs 
)
friend

Definition at line 90 of file interest.hpp.

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Nonce nonce 
)
friend

Definition at line 96 of file interest.hpp.


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