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

Rules regarding NameComponent types. More...

#include <name-component-types.hpp>

Inheritance diagram for ndn::name::detail::ComponentTypeTable:
Collaboration diagram for ndn::name::detail::ComponentTypeTable:

Public Member Functions

 ComponentTypeTable ()
 
const ComponentTypeget (uint32_t type) const
 Retrieve ComponentType by TLV-TYPE. More...
 
const ComponentTypefindByUriPrefix (const std::string &prefix) const
 Retrieve ComponentType by alternate URI prefix. More...
 

Detailed Description

Rules regarding NameComponent types.

Definition at line 338 of file name-component-types.hpp.

Constructor & Destructor Documentation

◆ ComponentTypeTable()

Member Function Documentation

◆ get()

const ComponentType& ndn::name::detail::ComponentTypeTable::get ( uint32_t  type) const
inline

Retrieve ComponentType by TLV-TYPE.

Definition at line 346 of file name-component-types.hpp.

Referenced by ndn::name::Component::getSuccessor(), and ndn::name::Component::toUri().

◆ findByUriPrefix()

const ComponentType* ndn::name::detail::ComponentTypeTable::findByUriPrefix ( const std::string &  prefix) const
inline

Retrieve ComponentType by alternate URI prefix.

Definition at line 357 of file name-component-types.hpp.

Referenced by ndn::name::Component::fromEscapedString().


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