A Discrete-Event Network Simulator
API
attribute-helper.h File Reference

Attribute helper (ATTRIBUTE_ )macros definition. More...

#include "abort.h"
#include "attribute-accessor-helper.h"
#include "attribute.h"
#include <sstream>
+ Include dependency graph for attribute-helper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Macros

#define ATTRIBUTE_ACCESSOR_DEFINE(type)
 Define the attribute accessor functions MakeTypeAccessor for class type. More...
 
#define ATTRIBUTE_CHECKER_DEFINE(type)
 Declare the AttributeChecker class typeChecker and the MaketypeChecker function for class type. More...
 
#define ATTRIBUTE_CHECKER_IMPLEMENT(type)
 Define the MaketypeChecker function for class type. More...
 
#define ATTRIBUTE_CHECKER_IMPLEMENT_WITH_NAME(type, name)
 Define the MaketypeChecker function for class type. More...
 
#define ATTRIBUTE_CONVERTER_DEFINE(type)
 Define the conversion operators class type and Attribute instances. More...
 
#define ATTRIBUTE_HELPER_CPP(type)
 Define the attribute value, accessor and checkers for class type More...
 
#define ATTRIBUTE_HELPER_HEADER(type)
 Declare the attribute value, accessor and checkers for class type More...
 
#define ATTRIBUTE_VALUE_DEFINE(name)   ATTRIBUTE_VALUE_DEFINE_WITH_NAME(name, name)
 Declare the attribute value class nameValue for the class name More...
 
#define ATTRIBUTE_VALUE_DEFINE_WITH_NAME(type, name)
 Declare the attribute value class nameValue for underlying class type. More...
 
#define ATTRIBUTE_VALUE_IMPLEMENT(type)   ATTRIBUTE_VALUE_IMPLEMENT_WITH_NAME(type, type)
 Define the class methods belonging to attribute value class typeValue for class type. More...
 
#define ATTRIBUTE_VALUE_IMPLEMENT_WITH_NAME(type, name)
 Define the class methods belonging to the attribute value class nameValue of the underlying class type. More...
 

Functions

template<typename T , typename BASE >
Ptr< AttributeChecker > ns3::MakeSimpleAttributeChecker (std::string name, std::string underlying)
 A simple string-based attribute checker. More...
 

Detailed Description

Attribute helper (ATTRIBUTE_ )macros definition.

Definition in file attribute-helper.h.