Changeset 398 for trunk/yao


Ignore:
Timestamp:
08/04/10 10:33:58 (14 years ago)
Author:
yerima
Message:

Opening an existing project: trajectory window is ok. (2)

Location:
trunk/yao/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yao/src/analyzers/grammar.g

    r309 r398  
    160160    ( orderBlock )? 
    161161  ( insert_fctBlock )? 
     162 EOF! 
    162163  ; 
    163164 
  • trunk/yao/src/main.cpp

    r391 r398  
    7979        for (vector<string>::iterator it = translator.theHeaderList.begin(); it != translator.theHeaderList.end(); it++) 
    8080                        cout << it->c_str() << endl; 
    81         translator.theHeaderList; 
    82         for (vector<string>::iterator it = translator.theHeaderList.begin(); it != translator.theHeaderList.end(); it++) 
    83                         cout << it->c_str() << endl; 
    84         for (Table<Trajectory>::iterator it = theTrajectoryTable.begin(); it != theTrajectoryTable.end(); it++) 
    85                         cout << it->getName() << ".traj1" << endl << it->getType() << ".traj2" << endl << it->getBoot() << ".traj3" << endl << it->getOffset() << ".traj4" << it->getStep() << ".traj5" << it->getSize()<< " " << endl; 
     81         
     82        translator.theTrajectoryTable; 
     83        for (Table<Trajectory>::iterator it = translator.theTrajectoryTable.begin(); it != translator.theTrajectoryTable.end(); it++) 
     84                        cout << it->getName() << ".traj1" << endl << it->getType() << ".traj2" << endl << it->getBoot() << ".traj3" << endl << it->getOffset() << ".traj4" << endl << it->getStep() << ".traj5" << endl << it->getSize() << ".traj6"<< endl; 
     85 
     86        translator.theSpaceTable; 
     87        for (Table<Space>::iterator it = translator.theSpaceTable.begin(); it != translator.theSpaceTable.end(); it++) 
     88                        cout << it->getProperty(0) << ".sp1" << endl << it->getProperty(1) << ".sp2" << endl << it->getProperty(2) << ".sp3" << endl; 
     89 
     90        //translator.theOperatorTable; 
     91        //for (Table<Operator>::iterator it = translator.theOperatorTable.begin(); it != translator.theOperatorTable.end(); it++) 
     92          //           cout << it->getProperty(0) << ".sp1" /*<< endl << it->getProperty(1) << ".sp2" << endl << it->getProperty(2) << ".sp3"*/ << endl; 
    8693 
    8794  } 
Note: See TracChangeset for help on using the changeset viewer.