summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardIncludes.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-02-22 13:22:38 (GMT)
committerBrad King <brad.king@kitware.com>2005-02-22 13:22:38 (GMT)
commit653bf6c25c104c685b4eea3bacf7e1c0a0c9c2d8 (patch)
treee589ab5dbc12a145ae0d2c83ebf320a272ff92be /Source/cmStandardIncludes.h
parent1662466ca272247b29a8fe27889b4798c977aa68 (diff)
downloadCMake-653bf6c25c104c685b4eea3bacf7e1c0a0c9c2d8.zip
CMake-653bf6c25c104c685b4eea3bacf7e1c0a0c9c2d8.tar.gz
CMake-653bf6c25c104c685b4eea3bacf7e1c0a0c9c2d8.tar.bz2
ENH: Adding cmCustomCommandLine and cmCustomCommandLines subclasses of std::vector instantiations to represent multiple commands for a single custom command. These will be used in an upcoming checkin.
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r--Source/cmStandardIncludes.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 662a831..38a7afa 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -263,4 +263,22 @@ struct cmDocumentationEntry
const char* full;
};
+/** Data structure to represent a single command line. */
+class cmCustomCommandLine: public std::vector<std::string>
+{
+public:
+ typedef std::vector<std::string> Superclass;
+ typedef Superclass::iterator iterator;
+ typedef Superclass::const_iterator const_iterator;
+};
+
+/** Data structure to represent a list of command lines. */
+class cmCustomCommandLines: public std::vector<cmCustomCommandLine>
+{
+public:
+ typedef std::vector<cmCustomCommandLine> Superclass;
+ typedef Superclass::iterator iterator;
+ typedef Superclass::const_iterator const_iterator;
+};
+
#endif