fix dox warnings
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sun, 13 May 2007 10:57:43 +0200
changeset 592 f7e4beac3e31
parent 591 723ad2f23d48
child 593 90cf12cb4ab7
fix dox warnings
src/core/interface.h
src/core/random-variable.h
src/node/net-device.h
src/node/socket.h
--- a/src/core/interface.h	Sun May 13 10:46:44 2007 +0200
+++ b/src/core/interface.h	Sun May 13 10:57:43 2007 +0200
@@ -80,7 +80,7 @@
   Interface (InterfaceId iid);
   /**
    * \param iid the Interface id of the interface
-   * \param a pointer to the interface object
+   * \param interface a pointer to the interface object
    *
    * If you are not a direct subclass of the ns3::Interface base class,
    * and if you want to register yourself as another accessible interface
--- a/src/core/random-variable.h	Sun May 13 10:46:44 2007 +0200
+++ b/src/core/random-variable.h	Sun May 13 10:57:43 2007 +0200
@@ -200,6 +200,7 @@
  * UniformVariable x(0,10);
  * x.GetValue();  //will always return numbers [0,10]
  * UniformVariable::GetSingleValue(100,1000); //returns a value [100,1000]
+ * \endcode
  */
 class UniformVariable : public RandomVariable {
 public:
--- a/src/node/net-device.h	Sun May 13 10:46:44 2007 +0200
+++ b/src/node/net-device.h	Sun May 13 10:57:43 2007 +0200
@@ -111,7 +111,7 @@
   /**
    * \param index ifIndex of the device 
    */
-  void SetIfIndex(const uint32_t);
+  void SetIfIndex(const uint32_t index);
   /**
    * \return index ifIndex of the device 
    */
--- a/src/node/socket.h	Sun May 13 10:46:44 2007 +0200
+++ b/src/node/socket.h	Sun May 13 10:57:43 2007 +0200
@@ -206,24 +206,24 @@
   
   /**
    * \brief Receive data
-   * \param Received data callback. Invoked whenever new data is received.
+   * \param receivedData Invoked whenever new data is received.
    *
    * If you wish to transport only dummy packets, this method is not a very
    * efficient way to receive these dummy packets: it will trigger a memory
    * allocation to hold the dummy memory into a buffer which can be passed
    * to the user. Instead, consider using the RecvDummy method.
    */
-  void Recv(Callback<void, Ptr<Socket>, const uint8_t*, uint32_t,const Ipv4Address&, uint16_t> = 
+  void Recv(Callback<void, Ptr<Socket>, const uint8_t*, uint32_t,const Ipv4Address&, uint16_t> receivedData = 
             MakeCallback (&Socket::DummyCallbackVoidSocketBufferUi32Ipv4AddressUi16));
   
   /**
    * \brief Receive data
-   * \param Received data callback. Invoked whenever new data is received.
+   * \param receivedData Invoked whenever new data is received.
    *
    * This method is included because it is vastly more efficient than the 
    * Recv method when you use dummy payload.
    */
-  void RecvDummy(Callback<void, Ptr<Socket>, uint32_t,const Ipv4Address&, uint16_t> = 
+  void RecvDummy(Callback<void, Ptr<Socket>, uint32_t,const Ipv4Address&, uint16_t> receivedData =
                  MakeCallback (&Socket::DummyCallbackVoidSocketUi32Ipv4AddressUi16));
 
 private: