utils/print-introspected-doxygen.cc
changeset 2693 56e28e34e109
parent 2602 d9262bff6df2
child 2931 5bee690ea6b6
--- a/utils/print-introspected-doxygen.cc	Fri Mar 21 13:24:15 2008 -0700
+++ b/utils/print-introspected-doxygen.cc	Fri Mar 21 13:41:16 2008 -0700
@@ -7,7 +7,7 @@
 PrintAttributes (TypeId tid, std::ostream &os)
 {
   os << "<ul>"<<std::endl;
-  for (uint32_t j = 0; j < tid.GetAttributeListN (); j++)
+  for (uint32_t j = 0; j < tid.GetAttributeN (); j++)
     {
       os << "<li><b>" << tid.GetAttributeName (j) << "</b>: "
 		<< tid.GetAttributeHelp (j) << std::endl;
@@ -52,7 +52,7 @@
 	}
       std::cout << "\\fn static TypeId " << tid.GetName () << "::GetTypeId (void)" << std::endl;
       std::cout << "\\brief This method returns the TypeId associated to \\ref " << tid.GetName () << std::endl << std::endl;
-      if (tid.GetAttributeListN () == 0)
+      if (tid.GetAttributeN () == 0)
 	{
 	  std::cout << "No Attributes defined for this type." << std::endl;
 	}
@@ -65,7 +65,7 @@
       TypeId tmp = tid.GetParent ();
       while (tmp.GetParent () != tmp)
 	{
-	  if (tmp.GetAttributeListN () != 0)
+	  if (tmp.GetAttributeN () != 0)
 	    {
 	      hasAttributesInParent = true;
 	    }
@@ -77,7 +77,7 @@
 	  tmp = tid.GetParent ();
 	  while (tmp.GetParent () != tmp)
 	    {
-	      if (tmp.GetAttributeListN () != 0)
+	      if (tmp.GetAttributeN () != 0)
 		{
 		  std::cout << tmp.GetName () << std::endl;
 		  PrintAttributes (tmp, std::cout);