LEFT | RIGHT |
(no file at all) | |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2008 INRIA | 3 * Copyright (c) 2008 INRIA |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 * \returns An iterator which points to the first item in the container | 169 * \returns An iterator which points to the first item in the container |
170 */ | 170 */ |
171 MatchContainer::Iterator Begin (void) const; | 171 MatchContainer::Iterator Begin (void) const; |
172 /** | 172 /** |
173 * \returns An iterator which points to the last item in the container | 173 * \returns An iterator which points to the last item in the container |
174 */ | 174 */ |
175 MatchContainer::Iterator End (void) const; | 175 MatchContainer::Iterator End (void) const; |
176 /** | 176 /** |
177 * \returns The number of items in the container | 177 * \returns The number of items in the container |
178 */ | 178 */ |
179 uint32_t GetN (void) const; | 179 std::size_t GetN (void) const; |
180 /** | 180 /** |
181 * \param [in] i Index of item to lookup ([0,n[) | 181 * \param [in] i Index of item to lookup ([0,n[) |
182 * \returns The item requested. | 182 * \returns The item requested. |
183 */ | 183 */ |
184 Ptr<Object> Get (uint32_t i) const; | 184 Ptr<Object> Get (std::size_t i) const; |
185 /** | 185 /** |
186 * \param [in] i Index of item to lookup ([0,n[) | 186 * \param [in] i Index of item to lookup ([0,n[) |
187 * \returns The fully-qualified matching path associated | 187 * \returns The fully-qualified matching path associated |
188 * to the requested item. | 188 * to the requested item. |
189 * | 189 * |
190 * The matching patch uniquely identifies the requested object. | 190 * The matching patch uniquely identifies the requested object. |
191 */ | 191 */ |
192 std::string GetMatchedPath (uint32_t i) const; | 192 std::string GetMatchedPath (uint32_t i) const; |
193 /** | 193 /** |
194 * \returns The path used to perform the object matching. | 194 * \returns The path used to perform the object matching. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 * \param [in] obj A new root object | 271 * \param [in] obj A new root object |
272 * | 272 * |
273 * This function undoes the work of Config::RegisterRootNamespaceObject. | 273 * This function undoes the work of Config::RegisterRootNamespaceObject. |
274 */ | 274 */ |
275 void UnregisterRootNamespaceObject (Ptr<Object> obj); | 275 void UnregisterRootNamespaceObject (Ptr<Object> obj); |
276 | 276 |
277 /** | 277 /** |
278 * \ingroup config | 278 * \ingroup config |
279 * \returns The number of registered root namespace objects. | 279 * \returns The number of registered root namespace objects. |
280 */ | 280 */ |
281 uint32_t GetRootNamespaceObjectN (void); | 281 std::size_t GetRootNamespaceObjectN (void); |
282 | 282 |
283 /** | 283 /** |
284 * \ingroup config | 284 * \ingroup config |
285 * \param [in] i The index of the requested object. | 285 * \param [in] i The index of the requested object. |
286 * \returns The requested root namespace object | 286 * \returns The requested root namespace object |
287 */ | 287 */ |
288 Ptr<Object> GetRootNamespaceObject (uint32_t i); | 288 Ptr<Object> GetRootNamespaceObject (uint32_t i); |
289 | 289 |
290 } // namespace Config | 290 } // namespace Config |
291 | 291 |
292 } // namespace ns3 | 292 } // namespace ns3 |
293 | 293 |
294 #endif /* CONFIG_H */ | 294 #endif /* CONFIG_H */ |
LEFT | RIGHT |