|
|
| 28 |
* \ingroup AttributeHelper |
28 |
* \ingroup AttributeHelper |
| 29 |
*/ |
29 |
*/ |
| 30 |
template <typename V, typename T1> |
30 |
template <typename V, typename T1> |
| 31 |
Ptr<const AttributeAccessor> |
31 |
inline Ptr<const AttributeAccessor> |
| 32 |
MakeAccessorHelper (T1 a1); |
32 |
MakeAccessorHelper (T1 a1); |
| 33 |
|
33 |
|
| 34 |
/** |
34 |
/** |
| 35 |
* \ingroup AttributeHelper |
35 |
* \ingroup AttributeHelper |
| 36 |
*/ |
36 |
*/ |
| 37 |
template <typename V, typename T1, typename T2> |
37 |
template <typename V, typename T1, typename T2> |
| 38 |
Ptr<const AttributeAccessor> |
38 |
inline Ptr<const AttributeAccessor> |
| 39 |
MakeAccessorHelper (T1 a1, T2 a2); |
39 |
MakeAccessorHelper (T1 a1, T2 a2); |
| 40 |
|
40 |
|
| 41 |
} // namespace ns3 |
41 |
} // namespace ns3 |
|
|
| 94 |
}; |
94 |
}; |
| 95 |
|
95 |
|
| 96 |
template <typename V, typename T, typename U> |
96 |
template <typename V, typename T, typename U> |
| 97 |
Ptr<const AttributeAccessor> |
97 |
inline Ptr<const AttributeAccessor> |
| 98 |
DoMakeAccessorHelperOne (U T::*memberVariable) |
98 |
DoMakeAccessorHelperOne (U T::*memberVariable) |
| 99 |
{ |
99 |
{ |
| 100 |
class MemberVariable : public AccessorHelper<T,V> |
100 |
class MemberVariable : public AccessorHelper<T,V> |
|
|
| 132 |
} |
132 |
} |
| 133 |
|
133 |
|
| 134 |
template <typename V, typename T, typename U> |
134 |
template <typename V, typename T, typename U> |
| 135 |
Ptr<const AttributeAccessor> |
135 |
inline Ptr<const AttributeAccessor> |
| 136 |
DoMakeAccessorHelperOne (U (T::*getter)(void) const) |
136 |
DoMakeAccessorHelperOne (U (T::*getter)(void) const) |
| 137 |
{ |
137 |
{ |
| 138 |
class MemberMethod : public AccessorHelper<T,V> |
138 |
class MemberMethod : public AccessorHelper<T,V> |
|
|
| 163 |
|
163 |
|
| 164 |
|
164 |
|
| 165 |
template <typename V, typename T, typename U> |
165 |
template <typename V, typename T, typename U> |
| 166 |
Ptr<const AttributeAccessor> |
166 |
inline Ptr<const AttributeAccessor> |
| 167 |
DoMakeAccessorHelperOne (void (T::*setter)(U)) |
167 |
DoMakeAccessorHelperOne (void (T::*setter)(U)) |
| 168 |
{ |
168 |
{ |
| 169 |
class MemberMethod : public AccessorHelper<T,V> |
169 |
class MemberMethod : public AccessorHelper<T,V> |