Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

initraj.hh File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

int iniTraj (const char *filename)


Function Documentation

int iniTraj const char *    filename
 

Definition at line 502 of file initraj.cc.

Referenced by emcTrajInit(), and main().

00503 {
00504   int retval = 0;
00505 
00506   trajInifile = new INIFILE;
00507 
00508   if (-1 == trajInifile->open(filename))
00509     {
00510       return -1;
00511     }
00512 
00513   // load trajectory values
00514   if (0 != loadTraj())
00515     {
00516       retval = -1;
00517     }
00518 
00519   // close the inifile
00520   trajInifile->close();
00521   delete trajInifile;
00522 
00523   return retval;
00524 }


Generated on Sun Dec 2 15:28:06 2001 for EMC by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001