summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorKent Williams <norman-k-williams@uiowa.edu>2003-04-10 17:41:15 (GMT)
committerKent Williams <norman-k-williams@uiowa.edu>2003-04-10 17:41:15 (GMT)
commit756653cbb86194b010271eadd392ad96d6b2f853 (patch)
tree949dff005ddad22f66d3f669c70ca79fd3256298 /Source/kwsys/SystemTools.hxx.in
parent5e9b2b94da2ba7a71d6d5b24492b272b05041d09 (diff)
downloadCMake-756653cbb86194b010271eadd392ad96d6b2f853.zip
CMake-756653cbb86194b010271eadd392ad96d6b2f853.tar.gz
CMake-756653cbb86194b010271eadd392ad96d6b2f853.tar.bz2
Removed platform-specific functions from Code/IO/itkIOCommon, fixed code to use kwsys/SystemTools
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r--Source/kwsys/SystemTools.hxx.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index 725e8ae..82e1627 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -101,6 +101,11 @@ public:
static kwsys_std::string UpperCase(const kwsys_std::string&);
/**
+ * do a case-independent string comparison
+ */
+ static int Strucmp(const char *s1, const char *s2);
+
+ /**
* Replace Windows file system slashes with Unix-style slashes.
*/
static void ConvertToUnixSlashes(kwsys_std::string& path);
@@ -123,6 +128,12 @@ public:
/** Return true if a file exists in the current directory. */
static bool FileExists(const char* filename);
+ static unsigned long FileLength(const char *filename);
+ /**
+ * given a (possibly) relative path, return the completely
+ * qualified path to a file system entity
+ */
+ static char *RealPath(const char *path, char *resolved_path);
/**
* Add the paths from the environment variable PATH to the
* string vector passed in.