A Discrete-Event Network Simulator
API
integer.h File Reference

Integer attribute value declarations and template implementations. More...

#include "attribute.h"
#include "attribute-helper.h"
#include <stdint.h>
#include <limits>
#include "type-name.h"
+ Include dependency graph for integer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns3::IntegerValue
 Hold a signed integer type. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
 ns3::internal
 Namespace for implementation details.
 

Functions

template<typename T1 >
Ptr< const AttributeAccessor > ns3::MakeIntegerAccessor (T1 a1)
 Create an AttributeAccessor for a class data member, or a lone class get functor or set method. More...
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessor > ns3::MakeIntegerAccessor (T1 a1, T2 a2)
 Create an AttributeAccessor using a pair of get functor and set methods from a class. More...
 
template<typename T >
Ptr< const AttributeChecker > ns3::MakeIntegerChecker (void)
 
Ptr< const AttributeChecker > ns3::internal::MakeIntegerChecker (int64_t min, int64_t max, std::string name)
 Make an Integer attribute checker with embedded numeric type name. More...
 
template<typename T >
Ptr< const AttributeChecker > ns3::MakeIntegerChecker (int64_t min)
 Make a checker with a minimum value. More...
 
template<typename T >
Ptr< const AttributeChecker > ns3::MakeIntegerChecker (int64_t min, int64_t max)
 Make a checker with a minimum and a maximum value. More...
 

Detailed Description

Integer attribute value declarations and template implementations.

Definition in file integer.h.