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

#include <ndn-common.hpp>

Inheritance diagram for ns3::ndn::NameValue:
Collaboration diagram for ns3::ndn::NameValue:

Public Member Functions

 NameValue ()
 NameValue (const Name &value)
void Set (const Name &value)
Name Get (void) const
template<typename T >
bool GetAccessor (T &value) const
virtual Ptr< AttributeValue > Copy (void) const
virtual std::string SerializeToString (Ptr< const AttributeChecker > checker) const
virtual bool DeserializeFromString (std::string value, Ptr< const AttributeChecker > checker)

Detailed Description

Definition at line 48 of file ndn-common.hpp.

Constructor & Destructor Documentation

◆ NameValue() [1/2]

ns3::ndn::NameValue::NameValue ( )

◆ NameValue() [2/2]

ns3::ndn::NameValue::NameValue ( const Name value)

Member Function Documentation

◆ Set()

void ns3::ndn::NameValue::Set ( const Name value)

◆ Get()

Name ns3::ndn::NameValue::Get ( void  ) const

◆ GetAccessor()

template<typename T >
bool ns3::ndn::NameValue::GetAccessor ( T &  value) const

Definition at line 48 of file ndn-common.hpp.

◆ Copy()

virtual Ptr<AttributeValue> ns3::ndn::NameValue::Copy ( void  ) const

◆ SerializeToString()

virtual std::string ns3::ndn::NameValue::SerializeToString ( Ptr< const AttributeChecker >  checker) const

◆ DeserializeFromString()

virtual bool ns3::ndn::NameValue::DeserializeFromString ( std::string  value,
Ptr< const AttributeChecker >  checker 

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