From 1bf68e521968d8b13f9ccf7dc4150e725efc0e8a Mon Sep 17 00:00:00 2001 From: Mitch Watrous Date: Fri, 18 Jan 2013 13:03:18 -0800 Subject: [PATCH] Bug 1520 - config paths not documented in Doxygen for CsmaChannel --- utils/print-introspected-doxygen.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/utils/print-introspected-doxygen.cc b/utils/print-introspected-doxygen.cc index 80249c30f..cfa15c3ac 100644 --- a/utils/print-introspected-doxygen.cc +++ b/utils/print-introspected-doxygen.cc @@ -483,6 +483,12 @@ int main (int argc, char *argv[]) NodeContainer c; c.Create (1); + // The below statements register typical aggregation relationships + // in ns-3 programs, that otherwise aren't picked up automatically + // by the creation of the above node. To manually list other common + // aggregation relationships that you would like to see show up in + // the list of configuration paths in the doxygen, add additional + // statements below. StaticInformation info; info.RecordAggregationInfo ("ns3::Node", "ns3::TcpSocketFactory"); info.RecordAggregationInfo ("ns3::Node", "ns3::UdpSocketFactory"); @@ -555,7 +561,7 @@ int main (int argc, char *argv[]) // Config -------------- if (paths.empty ()) { - std::cout << "This type is not accessible from the Config system." + std::cout << "Doxygen introspection did not find any typical Config paths." << breakBoth << std::endl; } else