|
|
| 199 |
} |
199 |
} |
| 200 |
|
200 |
|
| 201 |
template <typename W, typename T, typename U, typename V> |
201 |
template <typename W, typename T, typename U, typename V> |
| 202 |
Ptr<const AttributeAccessor> |
202 |
inline Ptr<const AttributeAccessor> |
| 203 |
DoMakeAccessorHelperTwo (void (T::*setter)(U), |
203 |
DoMakeAccessorHelperTwo (void (T::*setter)(U), |
| 204 |
V (T::*getter)(void) const) |
204 |
V (T::*getter)(void) const) |
| 205 |
{ |
205 |
{ |
|
|
| 240 |
} |
240 |
} |
| 241 |
|
241 |
|
| 242 |
template <typename W, typename T, typename U, typename V> |
242 |
template <typename W, typename T, typename U, typename V> |
| 243 |
Ptr<const AttributeAccessor> |
243 |
inline Ptr<const AttributeAccessor> |
| 244 |
DoMakeAccessorHelperTwo (V (T::*getter)(void) const, |
244 |
DoMakeAccessorHelperTwo (V (T::*getter)(void) const, |
| 245 |
void (T::*setter)(U)) |
245 |
void (T::*setter)(U)) |
| 246 |
{ |
246 |
{ |
|
Lines 248-254
DoMakeAccessorHelperTwo (V (T::*getter)(void) const,
|
Link Here
|
|---|
|
| 248 |
} |
248 |
} |
| 249 |
|
249 |
|
| 250 |
template <typename W, typename T, typename U, typename V> |
250 |
template <typename W, typename T, typename U, typename V> |
| 251 |
Ptr<const AttributeAccessor> |
251 |
inline Ptr<const AttributeAccessor> |
| 252 |
DoMakeAccessorHelperTwo (bool (T::*setter)(U), |
252 |
DoMakeAccessorHelperTwo (bool (T::*setter)(U), |
| 253 |
V (T::*getter)(void) const) |
253 |
V (T::*getter)(void) const) |
| 254 |
{ |
254 |
{ |
|
|
| 289 |
} |
289 |
} |
| 290 |
|
290 |
|
| 291 |
template <typename W, typename T, typename U, typename V> |
291 |
template <typename W, typename T, typename U, typename V> |
| 292 |
Ptr<const AttributeAccessor> |
292 |
inline Ptr<const AttributeAccessor> |
| 293 |
DoMakeAccessorHelperTwo (bool (T::*getter)(void) const, |
293 |
DoMakeAccessorHelperTwo (bool (T::*getter)(void) const, |
| 294 |
void (T::*setter)(U)) |
294 |
void (T::*setter)(U)) |
| 295 |
{ |
295 |
{ |
|
Lines 297-310
DoMakeAccessorHelperTwo (bool (T::*getter)(void) const,
|
Link Here
|
|---|
|
| 297 |
} |
297 |
} |
| 298 |
|
298 |
|
| 299 |
template <typename V, typename T1> |
299 |
template <typename V, typename T1> |
| 300 |
Ptr<const AttributeAccessor> |
300 |
inline Ptr<const AttributeAccessor> |
| 301 |
MakeAccessorHelper (T1 a1) |
301 |
MakeAccessorHelper (T1 a1) |
| 302 |
{ |
302 |
{ |
| 303 |
return DoMakeAccessorHelperOne<V> (a1); |
303 |
return DoMakeAccessorHelperOne<V> (a1); |
| 304 |
} |
304 |
} |
| 305 |
|
305 |
|
| 306 |
template <typename V, typename T1, typename T2> |
306 |
template <typename V, typename T1, typename T2> |
| 307 |
Ptr<const AttributeAccessor> |
307 |
inline Ptr<const AttributeAccessor> |
| 308 |
MakeAccessorHelper (T1 a1, T2 a2) |
308 |
MakeAccessorHelper (T1 a1, T2 a2) |
| 309 |
{ |
309 |
{ |
| 310 |
return DoMakeAccessorHelperTwo<V> (a1, a2); |
310 |
return DoMakeAccessorHelperTwo<V> (a1, a2); |