#include <ostream>#include <sys/types.h>#include <dirent.h>#include <sys/stat.h>#include <unistd.h>

Go to the source code of this file.
Classes | |
| class | Directory |
Functions | |
| std::string | TRAIL_CWD (void) |
| void | TRAIL_SafeRemove (const std::string &fname, const std::string &ext) |
| int | TRAIL_CD (const std::string &path, std::ostream *=NULL) |
| bool | TRAIL_FILEEXISTS (const std::string &fname) |
| bool | TRAIL_ISDIR (const std::string &fname) |
| bool | TRAIL_ISLINK (const std::string &fname) |
| int | TRAIL_CreateDirectory (const std::string &fname) |
| std::string | TRAIL_ResolveLink (const std::string &path) |
| std::string | ResolveLink (const std::string &path) |
| std::string ResolveLink | ( | const std::string & | path | ) |
Definition at line 103 of file TRAIL_UnixUtils.C.
Referenced by TRAIL_RemeshShuffle().

| int TRAIL_CD | ( | const std::string & | path, |
| std::ostream * | = NULL |
||
| ) |
Definition at line 181 of file TRAIL_UnixUtils.C.
References TRAIL_CWD().
Referenced by TRAIL_AutoSurfer(), TRAIL_MergeRocinFiles(), TRAIL_RemeshWrite(), TRAIL_TransferSurfDataFILE(), and TRAIL_WriteWindow().


| int TRAIL_CreateDirectory | ( | const std::string & | fname | ) |
Definition at line 81 of file TRAIL_UnixUtils.C.
Referenced by TRAIL_Debug(), TRAIL_RemeshAutoSurfer(), and TRAIL_RemeshWrite().

| std::string TRAIL_CWD | ( | void | ) |
Definition at line 174 of file TRAIL_UnixUtils.C.
Referenced by TRAIL_AutoSurfer(), TRAIL_CD(), TRAIL_MergeRocinFiles(), TRAIL_RemeshAutoSurfer(), TRAIL_RemeshRunDirSetup(), TRAIL_RemeshWrite(), TRAIL_TransferSurfDataFILE(), TRAIL_WriteWindow(), and GEM_Partition::WriteRocstar().

| bool TRAIL_FILEEXISTS | ( | const std::string & | fname | ) |
Definition at line 50 of file TRAIL_UnixUtils.C.
Referenced by TRAIL_RemeshWrite(), and TRAIL_SafeRemove().

| bool TRAIL_ISDIR | ( | const std::string & | fname | ) |
Definition at line 59 of file TRAIL_UnixUtils.C.
Referenced by TRAIL_RemeshWrite().

| bool TRAIL_ISLINK | ( | const std::string & | fname | ) |
Definition at line 70 of file TRAIL_UnixUtils.C.
Referenced by TRAIL_RemeshWrite(), and TRAIL_SafeRemove().

| std::string TRAIL_ResolveLink | ( | const std::string & | path | ) |
Definition at line 87 of file TRAIL_UnixUtils.C.
| void TRAIL_SafeRemove | ( | const std::string & | fname, |
| const std::string & | ext | ||
| ) |
Definition at line 32 of file TRAIL_UnixUtils.C.
References n, TRAIL_FILEEXISTS(), and TRAIL_ISLINK().
Referenced by TRAIL_RemeshWrite().

