Header Files

Header files are included in source code files to define structures, variables, and prototypes. In order for a program to be compiled using theHyperMesh libraries, the program must use the header files provided with HyperMesh. The following header files are included with HyperMesh:
hmlib.h
Include this file if any functions prefixed with HM_ are used. In addition, include this file if hmreslib.h, hmmodlib.h, or hminlib.h are included.
hmreslib.h
Include this file if any functions prefixed with HMRES_ are used. In addition, include this file if hmmodlib.h is included
hmmodlib.h
Include this file if any functions prefixed with HMMOD_ are used.
hminlib.h
Include this file if any functions prefixed with HMIN_ are used.
The order of the include file statements is very important. If you are writing a results translator that does not use hmmodlib, use the following order:
#include "hmlib.h"
#include "hmreslib.h"
If you are writing a results translator that does use hmmodlib, use the following order:
#include "hmlib.h"
#include "hmreslib.h"
#include "hmmodlib.h"
If you are writing an input translator, use the following order:
#include "hmlib.h"
#include "hminlib.h"