summaryrefslogtreecommitdiffstats
path: root/Source/cmStringCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-01 22:34:47 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-01 22:34:47 (GMT)
commit6244ac6f06a9723ac7d14545d3336b9dbb68bd9c (patch)
treecdf366cca9bb1dc446552fe895bf13edd318f751 /Source/cmStringCommand.h
parentc8e546a353720f75dcc9282b254aba6d4e7db7ea (diff)
downloadCMake-6244ac6f06a9723ac7d14545d3336b9dbb68bd9c.zip
CMake-6244ac6f06a9723ac7d14545d3336b9dbb68bd9c.tar.gz
CMake-6244ac6f06a9723ac7d14545d3336b9dbb68bd9c.tar.bz2
Add a way to convert ascii to string
Diffstat (limited to 'Source/cmStringCommand.h')
-rw-r--r--Source/cmStringCommand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h
index c78f3ac..298d730 100644
--- a/Source/cmStringCommand.h
+++ b/Source/cmStringCommand.h
@@ -67,16 +67,19 @@ public:
"STRING(COMPARE NOTEQUAL <string1> <string2> <output variable>)\n"
"STRING(COMPARE LESS <string1> <string2> <output variable>)\n"
"STRING(COMPARE GREATER <string1> <string2> <output variable>)\n"
+ "STRING(ASCII <number> [<number> ...] <output variable>)\n"
"REGEX MATCH will match the regular expression once and store the match in the output variable.\n"
"REGEX MATCHALL will match the regular expression as many times as possible and store the matches\n"
" in the output variable as a list.\n"
"REGEX REPLACE will match the regular expression as many times as possible and substitute the\n"
" replacement expression for the match in the output.\n"
- "COMPARE EQUAL/NOTEQUAL/LESS/GREATER will compare the strings and store true or false in the output variable.\n";
+ "COMPARE EQUAL/NOTEQUAL/LESS/GREATER will compare the strings and store true or false in the output variable.\n"
+ "ASCII will convert all numbers into corresponding ASCII characters.\n";
}
cmTypeMacro(cmStringCommand, cmCommand);
protected:
+ bool HandleAsciiCommand(std::vector<std::string> const& args);
bool HandleRegexCommand(std::vector<std::string> const& args);
bool RegexMatch(std::vector<std::string> const& args);
bool RegexMatchAll(std::vector<std::string> const& args);