equal
deleted
inserted
replaced
102 os << "source=" << i->path << std::endl; |
102 os << "source=" << i->path << std::endl; |
103 os << "TraceContext=["; |
103 os << "TraceContext=["; |
104 i->context.PrintAvailable (os, ","); |
104 i->context.PrintAvailable (os, ","); |
105 os << "]" << std::endl; |
105 os << "]" << std::endl; |
106 os << "help=\"" << i->doc.GetHelp () << "\"" << std::endl; |
106 os << "help=\"" << i->doc.GetHelp () << "\"" << std::endl; |
107 os << "const TraceContext &: the trace context associated to the connected trace source." << std::endl; |
107 os << "argument 0 -- the trace context associated to the connected trace source." << std::endl; |
108 uint32_t k = 0; |
108 uint32_t k = 2; |
109 for (TraceDoc::Iterator j = i->doc.ArgsBegin (); j != i->doc.ArgsEnd (); j++) |
109 for (TraceDoc::Iterator j = i->doc.ArgsBegin (); j != i->doc.ArgsEnd (); j++) |
110 { |
110 { |
111 os << "argument " << k << " -- " << j->first << ": " << j->second << "." << std::endl; |
111 os << "argument " << k << " -- " << j->second << "." << std::endl; |
112 k++; |
112 k++; |
113 } |
113 } |
|
114 os << "void TraceSinkCallback (const TraceContext &"; |
|
115 for (TraceDoc::Iterator k = i->doc.ArgsBegin (); k != i->doc.ArgsEnd (); k++) |
|
116 { |
|
117 os << ", " << k->first; |
|
118 } |
|
119 os << ")" << std::endl; |
114 os << std::endl; |
120 os << std::endl; |
115 } |
121 } |
116 } |
122 } |
117 |
123 |
118 }//namespace ns3 |
124 }//namespace ns3 |