#include <unistd.h>
#include "xmipp_strings.h"
#include <fcntl.h>
Go to the source code of this file.
◆ AT
◆ COLON
◆ COMMA
◆ FILENAMENUMBERLENGTH
#define FILENAMENUMBERLENGTH 6 |
◆ METADATA_XMIPP_SQLITE
#define METADATA_XMIPP_SQLITE "SQLite format 3" |
◆ METADATA_XMIPP_STAR
#define METADATA_XMIPP_STAR "# XMIPP_STAR_1" |
◆ NUM
◆ Stat
◆ copyImage()
◆ deleteFile()
◆ fileExists() [1/2]
bool fileExists |
( |
const char * |
filename | ) |
|
|
inline |
Check if the file exists using the stat function
Definition at line 696 of file xmipp_filename.h.
702 return ( access (filename, F_OK) == 0 ?
true :
false);
◆ fileExists() [2/2]
bool fileExists |
( |
const FileName & |
filename | ) |
|
|
inline |
Check if the file exists using the stat function
Definition at line 708 of file xmipp_filename.h.
bool fileExists(const char *filename)
◆ getMetadataVersion()
String getMetadataVersion |
( |
void |
| ) |
|
◆ getXmippPath()
Returns the base directory of the Xmipp installation
Definition at line 853 of file xmipp_filename.cpp.
855 char* path = getenv(
"XMIPP_HOME");
#define REPORT_ERROR(nerr, ErrormMsg)
◆ getXmippSrcPath()
char* getXmippSrcPath |
( |
| ) |
|
Returns the source directory of Xmipp
Definition at line 863 of file xmipp_filename.cpp.
865 char* path = getenv(
"XMIPP_SRC");
#define REPORT_ERROR(nerr, ErrormMsg)
◆ setMetadataVersion()
void setMetadataVersion |
( |
String |
version | ) |
|
◆ FileNameVersion