equal
deleted
inserted
replaced
434 std::string m_name; /**< The program name */ |
434 std::string m_name; /**< The program name */ |
435 }; // class CommandLine |
435 }; // class CommandLine |
436 |
436 |
437 |
437 |
438 /** \ingroup commandline |
438 /** \ingroup commandline |
439 * \defgroup commandlinehelper Helpers to specialize on bool |
439 * \defgroup commandlinehelper Helpers to Specialize on \c bool |
440 */ |
440 */ |
441 /** |
441 /** |
442 * \ingroup commandlinehelper |
442 * \ingroup commandlinehelper |
443 * \brief Helpers for CommandLine to specialize on bool |
443 * \brief Helpers for CommandLine to specialize on bool |
444 */ |
444 */ |
445 namespace CommandLineHelper { |
445 namespace CommandLineHelper { |
446 |
446 |
447 /** |
447 /** |
448 * \ingroup commandlinehelper |
448 * \ingroup commandlinehelper |
449 * \brief Helper to specialize UserItem::Parse on bool |
449 * \brief Helpers to specialize CommandLine::UserItem::Parse() on bool |
450 * |
450 * |
451 * \param value the argument name |
451 * \param value the argument name |
452 * \param val the argument location |
452 * \param val the argument location |
453 * \return true if parsing was successful |
453 * \return true if parsing was successful |
454 * @{ |
454 * @{ |
459 bool UserItemParse<bool> (const std::string value, bool & val); |
459 bool UserItemParse<bool> (const std::string value, bool & val); |
460 /**@}*/ |
460 /**@}*/ |
461 |
461 |
462 /** |
462 /** |
463 * \ingroup commandlinehelper |
463 * \ingroup commandlinehelper |
464 * \brief Helper to specialize UserItem::GetDefault on bool |
464 * \brief Helper to specialize CommandLine::UserItem::GetDefault() on bool |
465 * |
465 * |
466 * \param val the argument value |
466 * \param val the argument value |
467 * \return the string representation of value |
467 * \return the string representation of value |
468 * @{ |
468 * @{ |
469 */ |
469 */ |
479 |
479 |
480 } // namespace ns3 |
480 } // namespace ns3 |
481 |
481 |
482 |
482 |
483 /******************************************************************** |
483 /******************************************************************** |
484 * Implementation of templates defined above |
484 * Implementation of the templates declared above. |
485 ********************************************************************/ |
485 ********************************************************************/ |
486 |
486 |
487 namespace ns3 { |
487 namespace ns3 { |
488 |
488 |
489 template <typename T> |
489 template <typename T> |