NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: 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 49 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
inline

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

§ Copy()

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

§ SerializeToString()

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

§ DeserializeFromString()

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

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