View | Details | Raw Unified | Return to bug 1411
Collapse All | Expand All

(-)a/src/core/model/attribute-accessor-helper.h (-5 / +5 lines)
 Lines 28-41   namespace ns3 { Link Here 
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
 Lines 94-100   private: Link Here 
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>
 Lines 132-138   private: Link Here 
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>
 Lines 163-169   private: Link Here 
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>

Return to bug 1411