NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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 nfdFace::Transport::Packet &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

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

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

ns3::ndn::BlockHeader::BlockHeader ( const nfdFace::Transport::Packet &  packet)

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

Member Function Documentation

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

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

Referenced by GetInstanceTypeId().

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

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

References GetTypeId().

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

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

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

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

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().

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

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


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