nfd::rib::RibUpdateBatch Class Reference

Represents a collection of RibUpdates to be applied to a single FaceId. More...

#include <daemon/rib/rib-update-batch.hpp>

Public Types

typedef RibUpdateList::const_iterator const_iterator
 

Public Member Functions

 RibUpdateBatch (uint64_t faceId)
 
void add (const RibUpdate &update)
 
const_iterator begin () const
 
const_iterator end () const
 
uint64_t getFaceId () const
 
size_t size () const
 

Detailed Description

Represents a collection of RibUpdates to be applied to a single FaceId.

Definition at line 40 of file rib-update-batch.hpp.

Member Typedef Documentation

◆ const_iterator

typedef RibUpdateList::const_iterator nfd::rib::RibUpdateBatch::const_iterator

Definition at line 43 of file rib-update-batch.hpp.

Constructor & Destructor Documentation

◆ RibUpdateBatch()

nfd::rib::RibUpdateBatch::RibUpdateBatch ( uint64_t  faceId)
explicit

Definition at line 31 of file rib-update-batch.cpp.

Member Function Documentation

◆ add()

void nfd::rib::RibUpdateBatch::add ( const RibUpdate update)

Definition at line 37 of file rib-update-batch.cpp.

◆ begin()

RibUpdateBatch::const_iterator nfd::rib::RibUpdateBatch::begin ( ) const

Definition at line 45 of file rib-update-batch.cpp.

◆ end()

RibUpdateBatch::const_iterator nfd::rib::RibUpdateBatch::end ( ) const

Definition at line 51 of file rib-update-batch.cpp.

◆ getFaceId()

uint64_t nfd::rib::RibUpdateBatch::getFaceId ( ) const
inline

Definition at line 69 of file rib-update-batch.hpp.

◆ size()

size_t nfd::rib::RibUpdateBatch::size ( ) const

Definition at line 57 of file rib-update-batch.cpp.