equal
deleted
inserted
replaced
19 */ |
19 */ |
20 #ifndef ATTRIBUTE_HELPER_H |
20 #ifndef ATTRIBUTE_HELPER_H |
21 #define ATTRIBUTE_HELPER_H |
21 #define ATTRIBUTE_HELPER_H |
22 |
22 |
23 #include "attribute.h" |
23 #include "attribute.h" |
24 #include "object-base.h" |
|
25 #include "attribute-accessor-helper.h" |
24 #include "attribute-accessor-helper.h" |
26 #include <sstream> |
25 #include <sstream> |
27 #include "fatal-error.h" |
26 #include "fatal-error.h" |
28 |
27 |
29 namespace ns3 { |
28 namespace ns3 { |
54 checker->m_type = name; |
53 checker->m_type = name; |
55 return Ptr<AttributeChecker> (checker, false); |
54 return Ptr<AttributeChecker> (checker, false); |
56 } |
55 } |
57 |
56 |
58 } |
57 } |
59 |
|
60 |
|
61 |
58 |
62 /** |
59 /** |
63 * \defgroup AttributeHelper |
60 * \defgroup AttributeHelper |
64 * |
61 * |
65 * All these macros can be used to generate automatically the code |
62 * All these macros can be used to generate automatically the code |
279 ATTRIBUTE_CHECKER_IMPLEMENT (type); \ |
276 ATTRIBUTE_CHECKER_IMPLEMENT (type); \ |
280 ATTRIBUTE_CONVERTER_IMPLEMENT (type); \ |
277 ATTRIBUTE_CONVERTER_IMPLEMENT (type); \ |
281 ATTRIBUTE_VALUE_IMPLEMENT (type); |
278 ATTRIBUTE_VALUE_IMPLEMENT (type); |
282 |
279 |
283 |
280 |
284 |
|
285 #endif /* ATTRIBUTE_HELPER_H */ |
281 #endif /* ATTRIBUTE_HELPER_H */ |