summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2005-03-11 16:48:39 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2005-03-11 16:48:39 (GMT)
commita1de57485109518c925aa203c926fe7e614fe028 (patch)
treef41f9730869e5721e452aca4776ca5f7c37131b3 /Source/kwsys/SystemTools.hxx.in
parent95d6107da2678f0e27c4f50d3481b8c4b570cde9 (diff)
downloadCMake-a1de57485109518c925aa203c926fe7e614fe028.zip
CMake-a1de57485109518c925aa203c926fe7e614fe028.tar.gz
CMake-a1de57485109518c925aa203c926fe7e614fe028.tar.bz2
ENH: add last two small funcs from vtkString. Done removing deps
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 e4af17a..522410d 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -177,6 +177,17 @@ public:
static kwsys_stl::string AddSpaceBetweenCapitalizedWords(
const kwsys_stl::string&);
+ /**
+ * Append two or more strings and produce new one.
+ * Programmer must 'delete []' the resulting string, which was allocated
+ * with 'new'.
+ * Return 0 if inputs are empty or there was an error
+ */
+ static char* AppendStrings(
+ const char* str1, const char* str2);
+ static char* AppendStrings(
+ const char* str1, const char* str2, const char* str3);
+
/** -----------------------------------------------------------------
* Filename Manipulation Routines
* -----------------------------------------------------------------