Lines Matching full:getter
141 // CustomAccessor<> allows custom getter and setter methods to be provided.
150 // |target| is the object on which to call the methods |getter|, |setter|
156 // It is an error to pass NULL for either |target| or |getter|.
158 T(C::*getter)(Error* error),
163 getter_(getter),
167 DCHECK(getter); // otherwise, use CustomWriteOnlyAccessor
174 T(C::*getter)(Error* error),
176 : CustomAccessor(target, getter, setter, nullptr) {}
265 // CustomReadOnlyAccessor<> allows a custom getter method to be provided.
270 // |target| is the object on which to call the |getter| method.
271 // |getter| is a const method. If a non-const method needs to be used,
273 CustomReadOnlyAccessor(C* target, T(C::*getter)(Error* error) const)
274 : target_(target), getter_(getter) {
276 DCHECK(getter);
297 // CustomMappedAccessor<> passes an argument to the getter and setter
303 // |target| is the object on which to call the methods |getter| and |setter|.
307 // |argument| is passed to the getter and setter methods to disambiguate
309 // It is an error to pass NULL for any of |target|, |clearer| or |getter|.
312 T(C::*getter)(const A& argument, Error* error),
318 getter_(getter),
323 DCHECK(getter);