73   return ns3::Create<ObjectPtrContainerValue> (*this);
 
   79   std::ostringstream oss;
 
   81   for (it = 
Begin (); it != 
End (); ++it)
 
  117   bool ok = 
DoGetN (
object, &n);
 
  122   for (uint32_t i = 0; i < n; i++)
 
virtual Ptr< AttributeValue > Copy(void) const 
Get a copy of this container. 
 
ObjectPtrContainerValue()
Default constructor. 
 
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
 
virtual bool HasSetter(void) const 
 
virtual Ptr< Object > DoGet(const ObjectBase *object, uint32_t i, uint32_t *index) const =0
Get an instance from the container, identified by index. 
 
Hold a value for an Attribute. 
 
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name. 
 
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate. 
 
Anchor the ns-3 type and attribute system. 
 
std::map< uint32_t, Ptr< Object > >::const_iterator Iterator
Iterator type for traversing this container. 
 
Ptr< Object > Get(uint32_t i) const 
Get a specific Object. 
 
virtual bool Set(ObjectBase *object, const AttributeValue &value) const 
 
ObjectPtrContainer attribute value declarations and template implementations. 
 
virtual bool HasGetter(void) const 
 
std::map< uint32_t, Ptr< Object > > m_objects
The container implementation. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
Iterator Begin(void) const 
Get an iterator to the first Object. 
 
virtual bool DeserializeFromString(std::string value, Ptr< const AttributeChecker > checker)
Deserialize from a string. 
 
Iterator End(void) const 
Get an iterator to the past-the-end Object. 
 
virtual bool DoGetN(const ObjectBase *object, uint32_t *n) const =0
Get the number of instances in the container. 
 
uint32_t GetN(void) const 
Get the number of Objects. 
 
Container for a set of ns3::Object pointers. 
 
virtual bool Get(const ObjectBase *object, AttributeValue &value) const 
 
virtual std::string SerializeToString(Ptr< const AttributeChecker > checker) const 
Serialize each of the Object pointers to a string.