LEFT | RIGHT |
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 14 matching lines...) Expand all Loading... |
25 /** | 25 /** |
26 * \file | 26 * \file |
27 * \ingroup attribute_Uinteger | 27 * \ingroup attribute_Uinteger |
28 * ns3::UintegerValue attribute value implementations. | 28 * ns3::UintegerValue attribute value implementations. |
29 */ | 29 */ |
30 | 30 |
31 namespace ns3 { | 31 namespace ns3 { |
32 | 32 |
33 NS_LOG_COMPONENT_DEFINE ("Uinteger"); | 33 NS_LOG_COMPONENT_DEFINE ("Uinteger"); |
34 | 34 |
35 ATTRIBUTE_VALUE_IMPLEMENT_WITH_NAME_LIB (uint64_t, Uinteger, NS3CORELIB); | 35 ATTRIBUTE_VALUE_IMPLEMENT_WITH_NAME_LIB (uint64_t, Uinteger, NS3_EXPORT); |
36 | 36 |
37 namespace internal { | 37 namespace internal { |
38 | 38 |
39 /** | 39 /** |
40 * \ingroup attribute_Uinteger | 40 * \ingroup attribute_Uinteger |
41 * Make an Uinteger attribute checker with embedded numeric type name. | 41 * Make an Uinteger attribute checker with embedded numeric type name. |
42 * | 42 * |
43 * \param [in] min The minimum allowed value. | 43 * \param [in] min The minimum allowed value. |
44 * \param [in] max The maximum allowed value. | 44 * \param [in] max The maximum allowed value. |
45 * \param [in] name The original type name ("uint8_t", "uint16_t", _etc_.). | 45 * \param [in] name The original type name ("uint8_t", "uint16_t", _etc_.). |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 uint64_t m_minValue; | 95 uint64_t m_minValue; |
96 uint64_t m_maxValue; | 96 uint64_t m_maxValue; |
97 std::string m_name; | 97 std::string m_name; |
98 } *checker = new Checker (min, max, name); | 98 } *checker = new Checker (min, max, name); |
99 return Ptr<const AttributeChecker> (checker, false); | 99 return Ptr<const AttributeChecker> (checker, false); |
100 } | 100 } |
101 | 101 |
102 } // namespace internal | 102 } // namespace internal |
103 | 103 |
104 } // namespace ns3 | 104 } // namespace ns3 |
LEFT | RIGHT |