A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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

namespace  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 .
 
#define ATTRIBUTE_CHECKER_DEFINE(type)
 Declare the AttributeChecker class typeChecker and the MaketypeChecker function for class type .
 
#define ATTRIBUTE_CHECKER_IMPLEMENT(type)
 Define the MaketypeChecker function for class type .
 
#define ATTRIBUTE_CHECKER_IMPLEMENT_WITH_NAME(type, name)
 Define the MaketypeChecker function for class type .
 
#define ATTRIBUTE_CONVERTER_DEFINE(type)
 Define the conversion operators class type and Attribute instances.
 
#define ATTRIBUTE_HELPER_CPP(type)
 Define the attribute value, accessor and checkers for class type
 
#define ATTRIBUTE_HELPER_HEADER(type)
 Declare the attribute value, accessor and checkers for class type
 
#define ATTRIBUTE_VALUE_DEFINE(name)   ATTRIBUTE_VALUE_DEFINE_WITH_NAME(name, name)
 Declare the attribute value class nameValue for the class name
 
#define ATTRIBUTE_VALUE_DEFINE_WITH_NAME(type, name)
 Declare the attribute value class nameValue for underlying class type .
 
#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 .
 
#define ATTRIBUTE_VALUE_IMPLEMENT_WITH_NAME(type, name)
 Define the class methods belonging to the attribute value class nameValue of the underlying class type .
 

Functions

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

Detailed Description

Attribute helper (ATTRIBUTE_ )macros definition.

Definition in file attribute-helper.h.