< Previous by Date | Date Index | Next by Date > |
Thread Index | Next in Thread > |
So why rp(class Processor) put a vector size (mChai.size) and a vector (mAddress) in it's vector (mAddress),mAddress is defined in class Processor (in file Processor.hxx,line 49):
protected:
std::vector<short> mAddress;
and the two functions pushAddress are (in file Processor.cxx,line 23):
void
Processor::pushAddress(const std::vector<short>& address)
{
for(std::vector<short>::const_iterator i=address.begin();i!=address.end();++i)
{
mAddress.push_back(*i);
}
}
void
Processor::pushAddress(const short address)
{
mAddress.push_back(address);
}
Thanks.