113 template <
typename T>
 
  129 template <
typename T>
 
  150     return "ns3::PointerValue";
 
  156     TypeId tid = T::GetTypeId ();
 
  157     return "ns3::Ptr< " + tid.
GetName () + 
" >";
 
  160     return ns3::Create<PointerValue> ();
 
  165     if (src == 0 || dst == 0)
 
  173     return T::GetTypeId ();
 
  179 template <
typename T>
 
  185 template <
typename T>
 
  192 template <
typename T>
 
  200 template <
typename T>
 
  206 template <
typename T>
 
  222 template <
typename T>
 
  226   return Create<internal::PointerChecker<T> > ();
 
virtual TypeId GetPointeeTypeId(void) const 
Get the TypeId of the base type. 
 
Represent the type of an attribute. 
 
Ptr< AttributeChecker > MakePointerChecker(void)
Create a PointerChecker for a type. 
 
Hold a value for an Attribute. 
 
Ptr< Object > GetObject(void) const 
Get the Object referenced by the PointerValue. 
 
U * PeekPointer(const Ptr< U > &p)
 
virtual TypeId GetPointeeTypeId(void) const =0
Get the TypeId of the base type. 
 
virtual Ptr< AttributeValue > Create(void) const 
 
virtual bool Copy(const AttributeValue &source, AttributeValue &destination) const 
Copy the source to the destination. 
 
virtual bool HasUnderlyingTypeInformation(void) const 
 
Ptr< Object > m_value
The stored Pointer instance. 
 
PointerChecker implementation. 
 
ns3::AttributeValue, ns3::AttributeAccessor and ns3::AttributeChecker declarations. 
 
virtual std::string GetUnderlyingTypeInformation(void) const 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
Hold objects of type Ptr. 
 
std::string GetName(void) const 
Get the name. 
 
virtual bool DeserializeFromString(std::string value, Ptr< const AttributeChecker > checker)
 
void SetObject(Ptr< Object > object)
Set the value from by reference an Object. 
 
#define ATTRIBUTE_ACCESSOR_DEFINE(type)
Define the attribute accessor functions MakeTypeAccessor for class type. 
 
ns3::Object class declaration, which is the root of the Object hierarchy and Aggregation. 
 
bool GetAccessor(Ptr< T > &value) const 
Access the Pointer value as type T. 
 
virtual std::string GetValueTypeName(void) const 
 
AttributeChecker implementation for PointerValue. 
 
virtual Ptr< AttributeValue > Copy(void) const 
 
virtual bool Check(const AttributeValue &val) const 
 
virtual std::string SerializeToString(Ptr< const AttributeChecker > checker) const 
 
a unique identifier for an interface. 
 
void Set(const Ptr< T > &value)
Set the value.