12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{
return m_index >= m_cont.terms().size();
}
size_t VecGenerator::repetitionIndex() const
{
return ( fixedPartFinished() && m_cont.repetitionTerm() ) ?
m_index - m_cont.terms().size() + 1 : 0;
}
const Term& VecGenerator::operator()()
{
if( m_cont.repetitionTerm() && m_index >= m_cont.terms().size() )
{
++m_index;
|
|
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{
return m_index >= m_cont.terms().size();
}
size_t VecGenerator::repetitionIndex() const
{
return ( fixedPartFinished() && m_cont.repetitionTerm() ) ?
m_index - m_cont.terms().size() : 0;
}
const Term& VecGenerator::operator()()
{
if( m_cont.repetitionTerm() && m_index >= m_cont.terms().size() )
{
++m_index;
|