Remove bogus TypeId::ResetInitialValues declaration, fix bindings
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Sun, 07 Aug 2011 16:08:55 +0100
changeset 7407 a28fffcfb2e5
parent 7406 5249884a7e52
child 7408 4f1f961b6cdc
Remove bogus TypeId::ResetInitialValues declaration, fix bindings
src/core/bindings/modulegen__gcc_ILP32.py
src/core/bindings/modulegen__gcc_LP64.py
src/core/model/type-id.h
--- a/src/core/bindings/modulegen__gcc_ILP32.py	Fri Aug 05 14:00:12 2011 -0400
+++ b/src/core/bindings/modulegen__gcc_ILP32.py	Sun Aug 07 16:08:55 2011 +0100
@@ -1427,11 +1427,6 @@
                    'bool', 
                    [], 
                    is_const=True)
-    ## type-id.h (module 'core'): static void ns3::TypeId::ResetInitialValues() [member function]
-    cls.add_method('ResetInitialValues', 
-                   'void', 
-                   [], 
-                   is_static=True)
     ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
     cls.add_method('SetAttributeInitialValue', 
                    'bool', 
--- a/src/core/bindings/modulegen__gcc_LP64.py	Fri Aug 05 14:00:12 2011 -0400
+++ b/src/core/bindings/modulegen__gcc_LP64.py	Sun Aug 07 16:08:55 2011 +0100
@@ -1427,11 +1427,6 @@
                    'bool', 
                    [], 
                    is_const=True)
-    ## type-id.h (module 'core'): static void ns3::TypeId::ResetInitialValues() [member function]
-    cls.add_method('ResetInitialValues', 
-                   'void', 
-                   [], 
-                   is_static=True)
     ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
     cls.add_method('SetAttributeInitialValue', 
                    'bool', 
--- a/src/core/model/type-id.h	Fri Aug 05 14:00:12 2011 -0400
+++ b/src/core/model/type-id.h	Sun Aug 07 16:08:55 2011 +0100
@@ -69,12 +69,6 @@
   };
 
   /**
-   * Reset the initial value of every attribute to the one
-   * that was specified by the associated object implementation.
-   */
-  static void ResetInitialValues(void);
-
-  /**
    * \param name the name of the requested TypeId
    * \returns the unique id associated with the requested
    *          name.