utils/print-introspected-doxygen.cc
changeset 2577 5b41cb5c3fcf
parent 2542 a9b88fdc09d6
child 2592 3ebf97150166
     1.1 --- a/utils/print-introspected-doxygen.cc	Mon Mar 03 01:58:57 2008 +0100
     1.2 +++ b/utils/print-introspected-doxygen.cc	Mon Mar 10 00:27:53 2008 +0100
     1.3 @@ -6,43 +6,11 @@
     1.4  #include "ns3/queue.h"
     1.5  #include "ns3/drop-tail-queue.h"
     1.6  #include "ns3/mobility-model-notifier.h"
     1.7 -#include "ns3/default-value.h"
     1.8  #include "ns3/string.h"
     1.9  
    1.10  using namespace ns3;
    1.11  
    1.12  
    1.13 -static void
    1.14 -PrintOneDefaultValue (DefaultValueBase *value, std::ostream &os)
    1.15 -{
    1.16 -  os << "///  <li> \\anchor DefaultValue" << value->GetName ()
    1.17 -     << " " << value->GetName () << std::endl;
    1.18 -  os << "///    <ul>" << std::endl;
    1.19 -  os << "///         <li>Type: " << value->GetType () << "</td></tr>" << std::endl;
    1.20 -  os << "///         <li>Default value: " << value->GetDefaultValue () << "</td></tr>" << std::endl;
    1.21 -  os << "///         <li>Description: " << value->GetHelp () << "</td></tr>" << std::endl;
    1.22 -  os << "///    </ul>" << std::endl;
    1.23 -  os << "///  </li>" << std::endl;
    1.24 -}
    1.25 -
    1.26 -static void
    1.27 -PrintDefaultValuesDoxygen (std::ostream &os)
    1.28 -{
    1.29 -  os << "/// \\page ListOfDefaultValues The list of default values" << std::endl;
    1.30 -  os << "/// \\defgroup ListOfDefaultValuesGroup The list of default values" << std::endl;
    1.31 -  os << "/// <ul>" << std::endl;
    1.32 -  for (DefaultValueList::Iterator i = DefaultValueList::Begin ();
    1.33 -       i != DefaultValueList::End (); i++)
    1.34 -    {
    1.35 -      if ((*i)->GetName () == "help")
    1.36 -	{
    1.37 -	  continue;
    1.38 -	}
    1.39 -      PrintOneDefaultValue (*i, os);
    1.40 -    }
    1.41 -  os << "/// </ul>" << std::endl;
    1.42 -}
    1.43 -
    1.44  
    1.45  int main (int argc, char *argv[])
    1.46  {
    1.47 @@ -60,7 +28,5 @@
    1.48    csma->AddQueue (CreateObject<DropTailQueue> ());
    1.49  
    1.50  
    1.51 -  PrintDefaultValuesDoxygen (std::cout);
    1.52 -
    1.53    return 0;
    1.54  }