operator<<() for VVContact
The purpose of this overloaded function is to ease the insertion of a
VVContact instance into an
RWDBInserter instance. The function combines the shifting of the individual components of a
VVContact into a single function.
RWDBInserter&
operator<< (RWDBInserter& aInserter,
const VVContact& aContact) //1
{
aInserter << aContact.name() << aContact.id()
<< aContact.address() << aContact.city()
<< aContact.state() << aContact.zip()
<< aContact.phone(); //2
aInserter.execute(); //3
return aInserter;
}