public method IO2GTableManager.getTable
    
Brief
Gets an instance of a trading table.
| Declaration | ||||
  | 
  ||||
| Parameters | |
tableType | 
    A trading table. The possible values are shown below..  | 
  
Details
The method returns an instance of one of the IO2GTable subclasses. You must cast the returned value to the corresponding type. The examples are shown below.
Table type argument  | 
    Return value type  | 
  
getTable [hide]
 session->useTableManager(Yes, NULL);
 session->login(user.c_str(), password.c_str(), url.c_str(), connection.c_str());
 //...
 IO2GTableManager *tableManager = session->getTableManager();
 while (tableManager->getStatus() != TablesLoaded && tableManager->getStatus() != TablesLoadFailed)
     uni::Sleep(50);
 if (tableManager->getStatus() == TablesLoaded)
 {
   IO2GOrdersTable *ordersTable = (IO2GOrdersTable *)tableManager->getTable(::Orders);
   //...
   ordersTable->release();
 }
 tableManager->release();
Declared in IO2GTableManager