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

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 64 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 70 of file interest.hpp.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 89 of file interest.hpp.

◆ operator==

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

Definition at line 84 of file interest.hpp.

Member Data Documentation

◆ elements

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

STL member.