src/core/config.h
changeset 2941 e1ff74674f87
parent 2594 a8f89acd17a1
child 2965 4b28e9740e3b
     1.1 --- a/src/core/config.h	Tue Mar 11 13:46:22 2008 -0700
     1.2 +++ b/src/core/config.h	Thu Apr 10 11:11:34 2008 -0700
     1.3 @@ -118,6 +118,17 @@
     1.4   */
     1.5  void UnregisterRootNamespaceObject (Ptr<Object> obj);
     1.6  
     1.7 +/**
     1.8 + * \returns the number of registered root namespace objects.
     1.9 + */
    1.10 +uint32_t GetRootNamespaceObjectN (void);
    1.11 +
    1.12 +/**
    1.13 + * \param i the index of the requested object.
    1.14 + * \returns the requested root namespace object
    1.15 + */
    1.16 +Ptr<Object> GetRootNamespaceObject (uint32_t i);
    1.17 +
    1.18  } // namespace Config
    1.19  
    1.20  } // namespace ns3