NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::ndn::BlockHeader Class Reference

#include <ndn-block-header.hpp>

Inheritance diagram for ns3::ndn::BlockHeader:
Collaboration diagram for ns3::ndn::BlockHeader:

Public Member Functions

virtual TypeId GetInstanceTypeId (void) const
 
 BlockHeader ()
 
 BlockHeader (const Block &packet)
 
virtual uint32_t GetSerializedSize (void) const
 
virtual void Serialize (ns3::Buffer::Iterator start) const
 
virtual uint32_t Deserialize (ns3::Buffer::Iterator start)
 
virtual void Print (std::ostream &os) const
 
Block & getBlock ()
 
const Block & getBlock () const
 

Static Public Member Functions

static ns3::TypeId GetTypeId ()
 

Detailed Description

Definition at line 32 of file ndn-block-header.hpp.

Constructor & Destructor Documentation

◆ BlockHeader() [1/2]

ns3::ndn::BlockHeader::BlockHeader ( )

Definition at line 55 of file ndn-block-header.cpp.

◆ BlockHeader() [2/2]

ns3::ndn::BlockHeader::BlockHeader ( const Block &  packet)

Definition at line 59 of file ndn-block-header.cpp.

Member Function Documentation

◆ GetTypeId()

ns3::TypeId ns3::ndn::BlockHeader::GetTypeId ( )
static

Definition at line 38 of file ndn-block-header.cpp.

Referenced by GetInstanceTypeId().

◆ GetInstanceTypeId()

TypeId ns3::ndn::BlockHeader::GetInstanceTypeId ( void  ) const
virtual

Definition at line 50 of file ndn-block-header.cpp.

References GetTypeId().

◆ GetSerializedSize()

uint32_t ns3::ndn::BlockHeader::GetSerializedSize ( void  ) const
virtual

Definition at line 65 of file ndn-block-header.cpp.

◆ Serialize()

void ns3::ndn::BlockHeader::Serialize ( ns3::Buffer::Iterator  start) const
virtual

Definition at line 71 of file ndn-block-header.cpp.

◆ Deserialize()

uint32_t ns3::ndn::BlockHeader::Deserialize ( ns3::Buffer::Iterator  start)
virtual

Definition at line 103 of file ndn-block-header.cpp.

References ndn::Block::fromStream().

◆ Print()

void ns3::ndn::BlockHeader::Print ( std::ostream &  os) const
virtual

◆ getBlock() [1/2]

Block & ns3::ndn::BlockHeader::getBlock ( )

◆ getBlock() [2/2]

const Block & ns3::ndn::BlockHeader::getBlock ( ) const

Definition at line 170 of file ndn-block-header.cpp.


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