MCPcopy Create free account
hub / github.com/apache/singa / Iterator

Method Iterator

test/gtest/gtest.h:14981–15011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14979 class Iterator : public ParamIteratorInterface<ParamType> {
14980 public:
14981 Iterator(const ParamGeneratorInterface<ParamType>* base,
14982 const ParamGenerator<T1>& g1,
14983 const typename ParamGenerator<T1>::iterator& current1,
14984 const ParamGenerator<T2>& g2,
14985 const typename ParamGenerator<T2>::iterator& current2,
14986 const ParamGenerator<T3>& g3,
14987 const typename ParamGenerator<T3>::iterator& current3,
14988 const ParamGenerator<T4>& g4,
14989 const typename ParamGenerator<T4>::iterator& current4,
14990 const ParamGenerator<T5>& g5,
14991 const typename ParamGenerator<T5>::iterator& current5,
14992 const ParamGenerator<T6>& g6,
14993 const typename ParamGenerator<T6>::iterator& current6,
14994 const ParamGenerator<T7>& g7,
14995 const typename ParamGenerator<T7>::iterator& current7,
14996 const ParamGenerator<T8>& g8,
14997 const typename ParamGenerator<T8>::iterator& current8,
14998 const ParamGenerator<T9>& g9,
14999 const typename ParamGenerator<T9>::iterator& current9)
15000 : base_(base),
15001 begin1_(g1.begin()), end1_(g1.end()), current1_(current1),
15002 begin2_(g2.begin()), end2_(g2.end()), current2_(current2),
15003 begin3_(g3.begin()), end3_(g3.end()), current3_(current3),
15004 begin4_(g4.begin()), end4_(g4.end()), current4_(current4),
15005 begin5_(g5.begin()), end5_(g5.end()), current5_(current5),
15006 begin6_(g6.begin()), end6_(g6.end()), current6_(current6),
15007 begin7_(g7.begin()), end7_(g7.end()), current7_(current7),
15008 begin8_(g8.begin()), end8_(g8.end()), current8_(current8),
15009 begin9_(g9.begin()), end9_(g9.end()), current9_(current9) {
15010 ComputeCurrentValue();
15011 }
15012 virtual ~Iterator() {}
15013
15014 virtual const ParamGeneratorInterface<ParamType>* BaseGenerator() const {

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected