ndn::Interest::Nonce Class Referencefinal

#include <ndn-cxx/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
 

Public Attributes

elements
 STL member. More...
 

Friends

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

Detailed Description

Definition at line 58 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 66 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 72 of file interest.hpp.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 91 of file interest.hpp.

◆ operator<<

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

Definition at line 96 of file interest.hpp.

◆ operator==

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

Definition at line 85 of file interest.hpp.

Member Data Documentation

◆ elements

T std::array< T >::elements
inherited

STL member.