|
|
| 24 |
#include <ostream> |
24 |
#include <ostream> |
| 25 |
#include "ns3/attribute.h" |
25 |
#include "ns3/attribute.h" |
| 26 |
#include "ns3/attribute-helper.h" |
26 |
#include "ns3/attribute-helper.h" |
|
|
27 |
#include "ns3/deprecated.h" |
| 27 |
|
28 |
|
| 28 |
namespace ns3 { |
29 |
namespace ns3 { |
| 29 |
|
30 |
|
|
|
| 70 |
* \param address a polymorphic address |
71 |
* \param address a polymorphic address |
| 71 |
* \returns a new Mac48Address from the polymorphic address |
72 |
* \returns a new Mac48Address from the polymorphic address |
| 72 |
* |
73 |
* |
| 73 |
* This function performs a type check and asserts if the |
74 |
* Deprecated. This function performs a type check and asserts if the |
| 74 |
* type of the input address is not compatible with an |
75 |
* type of the input address is not compatible with an |
| 75 |
* Mac48Address. |
76 |
* Mac48Address. |
| 76 |
*/ |
77 |
*/ |
| 77 |
static Mac48Address ConvertFrom (const Address &address); |
78 |
static Mac48Address ConvertFrom (const Address &address) NS_DEPRECATED; |
|
|
79 |
friend Mac48Address Mac48AddressConvertFrom (const Address &address); |
| 80 |
|
| 78 |
/** |
81 |
/** |
| 79 |
* \returns true if the address matches, false otherwise. |
82 |
* \returns true if the address matches, false otherwise. |
| 80 |
*/ |
83 |
*/ |