ndn::Tag Class Reference

Base class for packet tags that can hold any arbitrary information. More...

#include <ndn-cxx/tag.hpp>

+ Inheritance diagram for ndn::Tag:

Public Member Functions

virtual ~Tag ()=default
 

Static Public Member Functions

static constexpr int getTypeId () noexcept
 Returns an integer that uniquely identifies this Tag type. More...
 

Detailed Description

Base class for packet tags that can hold any arbitrary information.

Definition at line 30 of file tag.hpp.

Constructor & Destructor Documentation

◆ ~Tag()

virtual ndn::Tag::~Tag ( )
virtualdefault

Member Function Documentation

◆ getTypeId()

static constexpr int ndn::Tag::getTypeId ( )
inlinestaticconstexprnoexcept

Returns an integer that uniquely identifies this Tag type.

See also
https://redmine.named-data.net/projects/ndn-cxx/wiki/PacketTagTypes

Definition at line 42 of file tag.hpp.