--- a/src/core/integer.h Tue Feb 26 20:22:13 2008 +0100
+++ b/src/core/integer.h Tue Feb 26 20:23:43 2008 +0100
@@ -30,6 +30,9 @@
template <typename T>
Ptr<const AttributeChecker> MakeIntegerChecker (void);
+template <typename T>
+Ptr<const AttributeChecker> MakeIntegerChecker (int64_t min);
+
Ptr<const AttributeChecker> MakeIntegerChecker (int64_t min, int64_t max);
} // namespace ns3
@@ -38,6 +41,14 @@
template <typename T>
Ptr<const AttributeChecker>
+MakeIntegerChecker (int64_t min)
+{
+ return MakeIntegerChecker (min,
+ std::numeric_limits<T>::max ());
+}
+
+template <typename T>
+Ptr<const AttributeChecker>
MakeIntegerChecker (void)
{
return MakeIntegerChecker (std::numeric_limits<T>::min (),