Exemplo n.º 1
0
/*!
    Converts this NxsDataBlock object into a NxsCharactersBlock object, storing the result in the supplied
    NxsCharactersBlock object. This NxsDataBlock object will subsequently say it is empty when asked.
 */
void NxsDataBlock::TransferTo(
    NxsCharactersBlock &charactersblock) /* the NxsCharactersBlock object that will receive all the data from this object */
{
    charactersblock.Reset();
    charactersblock.Consume((NxsCharactersBlock &)(*this));
}