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) 2010 Universita' di Firenze, Italy | 3 * Copyright (c) 2010 Universita' di Firenze, Italy |
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 TopologyReader::ConstLinksIterator | 72 TopologyReader::ConstLinksIterator |
73 TopologyReader::LinksEnd (void) const | 73 TopologyReader::LinksEnd (void) const |
74 { | 74 { |
75 return m_linksList.end (); | 75 return m_linksList.end (); |
76 } | 76 } |
77 | 77 |
78 int | 78 int |
79 TopologyReader::LinksSize (void) const | 79 TopologyReader::LinksSize (void) const |
80 { | 80 { |
81 return m_linksList.size (); | 81 return static_cast<uint32_t> (m_linksList.size ()); |
82 } | 82 } |
83 | 83 |
84 bool | 84 bool |
85 TopologyReader::LinksEmpty (void) const | 85 TopologyReader::LinksEmpty (void) const |
86 { | 86 { |
87 return m_linksList.empty (); | 87 return m_linksList.empty (); |
88 } | 88 } |
89 | 89 |
90 void | 90 void |
91 TopologyReader::AddLink (Link link) | 91 TopologyReader::AddLink (Link link) |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 return m_linkAttr.begin (); | 161 return m_linkAttr.begin (); |
162 } | 162 } |
163 TopologyReader::Link::ConstAttributesIterator | 163 TopologyReader::Link::ConstAttributesIterator |
164 TopologyReader::Link::AttributesEnd (void) const | 164 TopologyReader::Link::AttributesEnd (void) const |
165 { | 165 { |
166 return m_linkAttr.end (); | 166 return m_linkAttr.end (); |
167 } | 167 } |
168 | 168 |
169 | 169 |
170 } /* namespace ns3 */ | 170 } /* namespace ns3 */ |
LEFT | RIGHT |