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

initool.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 iniTool (const char *filename)


Function Documentation

int iniTool const char *    filename
 

Definition at line 63 of file initool.cc.

Referenced by EMC_TOOL_MODULE::INIT().

00064 {
00065   int retval = 0;
00066 
00067   toolInifile = new INIFILE;
00068 
00069   if (-1 == toolInifile->open(filename))
00070     {
00071       return -1;
00072     }
00073 
00074   // load tool values
00075   if (0 != loadTool())
00076     {
00077       retval = -1;
00078     }
00079 
00080   // close the inifile
00081   toolInifile->close();
00082   delete toolInifile;
00083 
00084   return retval;
00085 }


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