Home | History | Annotate | Download | only in gmock

Lines Matching refs:Tuple

47 // InvokeHelper<F> knows how to unpack an N-tuple and invoke an N-ary
54 class InvokeHelper<R, ::std::tr1::tuple<> > {
57 static R Invoke(Function function, const ::std::tr1::tuple<>&) {
64 const ::std::tr1::tuple<>&) {
70 class InvokeHelper<R, ::std::tr1::tuple<A1> > {
73 static R Invoke(Function function, const ::std::tr1::tuple<A1>& args) {
81 const ::std::tr1::tuple<A1>& args) {
88 class InvokeHelper<R, ::std::tr1::tuple<A1, A2> > {
91 static R Invoke(Function function, const ::std::tr1::tuple<A1, A2>& args) {
99 const ::std::tr1::tuple<A1, A2>& args) {
106 class InvokeHelper<R, ::std::tr1::tuple<A1, A2, A3> > {
109 static R Invoke(Function function, const ::std::tr1::tuple<A1, A2,
118 const ::std::tr1::tuple<A1, A2, A3>& args) {
125 class InvokeHelper<R, ::std::tr1::tuple<A1, A2, A3, A4> > {
128 static R Invoke(Function function, const ::std::tr1::tuple<A1, A2, A3,
137 const ::std::tr1::tuple<A1, A2, A3, A4>& args) {
146 class InvokeHelper<R, ::std::tr1::tuple<A1, A2, A3, A4, A5> > {
149 static R Invoke(Function function, const ::std::tr1::tuple<A1, A2, A3, A4,
159 const ::std::tr1::tuple<A1, A2, A3, A4, A5>& args) {
168 class InvokeHelper<R, ::std::tr1::tuple<A1, A2, A3, A4, A5, A6> > {
171 static R Invoke(Function function, const ::std::tr1::tuple<A1, A2, A3, A4,
181 const ::std::tr1::tuple<A1, A2, A3, A4, A5, A6>& args) {
190 class InvokeHelper<R, ::std::tr1::tuple<A1, A2, A3, A4, A5, A6, A7> > {
193 static R Invoke(Function function, const ::std::tr1::tuple<A1, A2, A3, A4,
203 const ::std::tr1::tuple<A1, A2, A3, A4, A5, A6,
213 class InvokeHelper<R, ::std::tr1::tuple<A1, A2, A3, A4, A5, A6, A7, A8> > {
216 static R Invoke(Function function, const ::std::tr1::tuple<A1, A2, A3, A4,
226 const ::std::tr1::tuple<A1, A2, A3, A4, A5, A6, A7,
236 class InvokeHelper<R, ::std::tr1::tuple<A1, A2, A3, A4, A5, A6, A7, A8, A9> > {
239 static R Invoke(Function function, const ::std::tr1::tuple<A1, A2, A3, A4,
249 const ::std::tr1::tuple<A1, A2, A3, A4, A5, A6, A7, A8,
261 class InvokeHelper<R, ::std::tr1::tuple<A1, A2, A3, A4, A5, A6, A7, A8, A9,
265 static R Invoke(Function function, const ::std::tr1::tuple<A1, A2, A3, A4,
276 const ::std::tr1::tuple<A1, A2, A3, A4, A5, A6, A7, A8,
386 // An INTERNAL macro for extracting the type of a tuple field. It's
388 #define GMOCK_FIELD_(Tuple, N) \
389 typename ::std::tr1::tuple_element<N, Tuple>::type
393 // k{i}-th (0-based) field of ArgumentTuple, which must be a tuple
395 // SelectArgs<int, ::std::tr1::tuple<bool, char, double, long>, 0, 3>::type
399 // returns the selected fields (k1, k2, ..., k_n) of args as a tuple.
401 // SelectArgs<int, ::std::tr1::tuple<bool, char, double>, 2, 0>::Select(
403 // returns ::std::tr1::tuple (2.5, true).
641 static Result Perform(Impl* impl, const ::std::tr1::tuple<>& args) {
650 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0>& args) {
659 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1>& args) {
668 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2>& args) {
677 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2,
687 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2, A3,
698 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2, A3, A4,
709 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2, A3, A4,
720 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2, A3, A4,
731 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2, A3, A4,
742 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2, A3, A4,
942 // You can also refer to the entire argument tuple and its type by