19 #ifndef OBJECT_NAMES_H 
   20 #define OBJECT_NAMES_H 
  116   static void Add (std::string path, std::string name, 
Ptr<Object> object);
 
  204   static void Rename (std::string oldpath, std::string newname);
 
  229   static void Rename (std::string path, std::string oldname, std::string newname);
 
  275   static void Rename (
Ptr<Object> context, std::string oldname, std::string newname);
 
  322   static void Clear (
void);
 
  344   template <
typename T>
 
  371   template <
typename T>
 
  372   static Ptr<T> Find (std::string path, std::string name);
 
  414   template <
typename T>
 
  453 template <
typename T>
 
  469 template <
typename T>
 
  485 template <
typename T>
 
Ptr< T > GetObject(void) const 
Get a pointer to the requested aggregated Object. 
 
Smart pointer implementation. 
 
static void Add(std::string name, Ptr< Object > object)
Add the association between the string "name" and the Ptr
 
A directory of name and Ptr
 
static void Clear(void)
Clear the list of objects associated with names. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
static void Rename(std::string oldpath, std::string newname)
Rename a previously associated name. 
 
static std::string FindPath(Ptr< Object > object)
Given a pointer to an object, look to see if that object has a name associated with it and return the...
 
ns3::Object class declaration, which is the root of the Object hierarchy and Aggregation. 
 
static std::string FindName(Ptr< Object > object)
Given a pointer to an object, look to see if that object has a name associated with it and...
 
static Ptr< Object > FindInternal(std::string path)
Non-templated internal version of Names::Find. 
 
static Ptr< T > Find(std::string path)
Given a name path string, look to see if there's an object in the system with that associated to it...