/* src/duchamp.hh. Generated by configure. */ #ifndef DUCHAMP_HH #define DUCHAMP_HH #include #include #undef PACKAGE_BUGREPORT #undef PACKAGE_NAME #undef PACKAGE_STRING #undef PACKAGE_TARNAME #undef PACKAGE_VERSION #include "config.h" // how to convey whether a function has worked enum OUTCOME {SUCCESS=0, FAILURE}; const std::string ERR_USAGE_MSG = "Usage:: Duchamp -p [parameter file]\n\ Other options:\n\ -f Use default parameters with imageFile=\n\ -v Version number\n\ -h This help information\n"; const std::string ERR_USAGE_MSG_SHORT="Usage:: Duchamp -p [parameter file]\n"; const std::string PROGNAME = PACKAGE_NAME; const std::string VERSION = PACKAGE_VERSION; // Specialised functions to report warnings and errors. // These are defined in duchamp.cc void duchampWarning(std::string subroutine, std::string warning); void duchampError(std::string subroutine, std::string error); // A simple functions to print a given number of backspaces or spaces // to std::cout inline void printBackSpace(int num){for(int i=0;i