Loading...
Searching...
No Matches
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

using const_iterator = RibUpdateList::const_iterator
 

Public Member Functions

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

Detailed Description

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

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

Member Typedef Documentation

◆ const_iterator

using nfd::rib::RibUpdateBatch::const_iterator = RibUpdateList::const_iterator

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

Constructor & Destructor Documentation

◆ RibUpdateBatch()

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

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

Member Function Documentation

◆ add()

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

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

◆ begin()

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

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

◆ end()

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

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

◆ getFaceId()

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

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

◆ size()

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

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