Reading the nodes file would go as follows:
{}
#include <fstream>
#include <string>
...
const char* NODES_FILE_NAME = "T.nodes";
...
class Node {
...
};
...
class SimWorld {
...
};
...
/home/nagel/src/book/sim/book/SimWorld::readNodes
The convert methods are as follows:
/home/nagel/src/book/sim/book/convert
This would be called from the main program via
{}
int main()
{
SimWorld simWorld ;
simWorld.readNodes() ;
...
}