public method IO2GMessagesTable.getRow
Brief
Gets a row from the IO2GMessagesTable
by its index.
Declaration | ||||
|
Parameters | |
index |
The index of the row. The index must be between |
Details
If the row is not found, the method returns null
.
Example
Get rows from the Messages table [hide]
O2G2Ptr<IO2GMessagesTable> messagesTable = (IO2GMessagesTable *)tableManager->getTable(Messages); for (int i = 0; i < messagesTable->size(); ++i) { O2G2Ptr<IO2GMessageTableRow> message = messagesTable->getRow(i); std::cout << "MessageID: " << message->getMsgID() << " From = " << message->getFrom() << " Text = " << message->getText() << std::endl; }
Declared in IO2GMessagesTable