NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::ByteCounter Class Reference

represents a counter of number of bytes More...

#include <face-counters.hpp>

Inheritance diagram for nfd::ByteCounter:
Collaboration diagram for nfd::ByteCounter:

Public Types

typedef uint64_t rep
 

Public Member Functions

 ByteCounter ()
 
 operator rep () const
 
ByteCounteroperator+= (rep n)
 
void set (rep value)
 

Detailed Description

represents a counter of number of bytes

Definition at line 74 of file face-counters.hpp.

Member Typedef Documentation

typedef uint64_t nfd::ByteCounter::rep

Definition at line 77 of file face-counters.hpp.

Constructor & Destructor Documentation

nfd::ByteCounter::ByteCounter ( )
inline

Definition at line 79 of file face-counters.hpp.

Member Function Documentation

nfd::ByteCounter::operator rep ( ) const
inline

Definition at line 84 of file face-counters.hpp.

ByteCounter& nfd::ByteCounter::operator+= ( rep  n)
inline

Definition at line 90 of file face-counters.hpp.

void nfd::ByteCounter::set ( rep  value)
inline

Definition at line 97 of file face-counters.hpp.


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