Example #1
0
void BinexReadWrite_T :: init( void )
{

   TestUtil  testUtil;
   string  dataFilePath = gpstk::getPathData();

      //----------------------------------------
      // Full file paths
      //----------------------------------------
   string  inputFile = dataFilePath + gpstk::getFileSep()
                       + "test_input_binex_readwrite.txt";

   if (verboseLevel > 0)
   {
      cout << "  Reading test input . . ." << endl;
   }
   readNums(inputFile);

   if (verboseLevel > 0)
   {
      cout << "    " << numList.size() << " numbers" << endl;
      cout << "  Creating BINEX records . . ." << endl;
   }
   createRecs();
   if (verboseLevel > 0)
   {
      cout << "    " << testRecords.size() << " records" << endl;
   }
}
Example #2
0
void
CmdInterface::show(const RecordList & lst)
{
    if (lst.size() > 0)
    {
        cIter i = lst.begin();
        for ( ; i != lst.end(); i++)
            CmdInterface::show(*i);
    }
    else
        println("empty.");
}
void NotificationRouteDialog::routeSelectionChanged( RecordList rl )
{
	mRemoveButton->setEnabled( bool(rl.size()) );
}