equal
deleted
inserted
replaced
23 #include "attribute.h" |
23 #include "attribute.h" |
24 #include "attribute-helper.h" |
24 #include "attribute-helper.h" |
25 #include <stdint.h> |
25 #include <stdint.h> |
26 #include <limits> |
26 #include <limits> |
27 |
27 |
|
28 /** |
|
29 * \file |
|
30 * \ingroup attribute_Uinteger |
|
31 * Unsigned integer attribute value declarations and template implementations. |
|
32 */ |
|
33 |
28 namespace ns3 { |
34 namespace ns3 { |
29 |
35 |
30 // Additional docs for class DoubleValue: |
36 // Additional docs for class UintegerValue: |
31 /** |
37 /** |
32 * Hold an unsigned integer type. |
38 * Hold an unsigned integer type. |
33 * |
39 * |
34 * This class can be used to hold variables of unsigned integer |
40 * This class can be used to hold variables of unsigned integer |
35 * type such as uint8_t, uint16_t, uint32_t, uint64_t, or, |
41 * type such as uint8_t, uint16_t, uint32_t, uint64_t, or, |
67 template <typename T> |
73 template <typename T> |
68 Ptr<const AttributeChecker> MakeUintegerChecker (uint64_t min, uint64_t max); |
74 Ptr<const AttributeChecker> MakeUintegerChecker (uint64_t min, uint64_t max); |
69 |
75 |
70 } // namespace ns3 |
76 } // namespace ns3 |
71 |
77 |
|
78 |
|
79 /*************************************************************** |
|
80 * Implementation of the templates declared above. |
|
81 ***************************************************************/ |
|
82 |
72 #include "type-name.h" |
83 #include "type-name.h" |
73 |
84 |
74 namespace ns3 { |
85 namespace ns3 { |
75 |
86 |
76 namespace internal { |
87 namespace internal { |