milk
1.01
Modular Image processing Library toolKit
|
Macros | |
#define | PRINT_ERROR(...) |
Print error (in red) and continue. More... | |
#define | PRINT_WARNING(...) |
Print warning and continue. More... | |
#define | EXECUTE_SYSTEM_COMMAND(...) |
system call with error checking and handling More... | |
#define | SNPRINTF_CHECK(string, maxlen, ...) |
snprintf with error checking and handling More... | |
#define | WRITE_IMAGENAME(imname, ...) |
Write image name to string. More... | |
#define | WRITE_DIRNAME(dirname, ...) |
Write directory name to string. More... | |
#define | WRITE_FILENAME(fname, ...) |
Write filename to string. More... | |
#define | WRITE_FULLFILENAME(ffname, ...) |
Write full path filename to string. More... | |
#define | WRITE_STRING_TO_FILE(fname, ...) |
Write a string to file. More... | |
#define | WRITE_FITSKEYWNAME(keywname, ...) |
Write FITS keyword to string. More... | |
#define EXECUTE_SYSTEM_COMMAND | ( | ... | ) |
system call with error checking and handling
#define PRINT_ERROR | ( | ... | ) |
Print error (in red) and continue.
#define PRINT_WARNING | ( | ... | ) |
Print warning and continue.
#define SNPRINTF_CHECK | ( | string, | |
maxlen, | |||
... | |||
) |
snprintf with error checking and handling
#define WRITE_DIRNAME | ( | dirname, | |
... | |||
) |
Write directory name to string.
Requires existing image string of len #STRINGMAXLEN_DIRNAME
Example use:
#define WRITE_FILENAME | ( | fname, | |
... | |||
) |
Write filename to string.
Requires existing image string of len #STRINGMAXLEN_FILENAME
Example use:
#define WRITE_FITSKEYWNAME | ( | keywname, | |
... | |||
) |
Write FITS keyword to string.
Requires existing image string of len #STRINGMAXLEN_FITSKEYWORD
Example use:
#define WRITE_FULLFILENAME | ( | ffname, | |
... | |||
) |
Write full path filename to string.
Requires existing image string of len #STRINGMAXLEN_FULLFILENAME
Example use:
#define WRITE_IMAGENAME | ( | imname, | |
... | |||
) |
Write image name to string.
Requires existing image string of len #STRINGMAXLEN_IMGNAME
Example use:
#define WRITE_STRING_TO_FILE | ( | fname, | |
... | |||
) |
Write a string to file.
Creates file, writes string, and closes file.
Example use: