public method IO2GMessagesTable.getNextRow

Brief

Gets the next row from the IO2GMessagesTable.

Declaration
C++
virtual bool  getNextRow (IO2GTableIterator & iterator, IO2GMessageTableRow *& row) = 0

Parameters
iterator

The table iterator.

row

[out] The row fetched.

Details

If the row is not found, the method returns false.

Example

Get next row from the Messages table [hide]

    O2G2Ptr<IO2GMessagesTable> messagesTable = (IO2GMessagesTable *)tableManager->getTable(Messages);
    IO2GTableIterator iterator;
    IO2GMessageTableRow *message = NULL;
    while (messagesTable->getNextRow(iterator, message))
    {
        std::cout << "MessageID: " << message->getMsgID() <<
                     " From = " << message->getFrom() <<
                     " Text = " << message->getText() << std::endl;
        message->release();
    }

Declared in IO2GMessagesTable

back