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.

This commit is contained in:
Brad King 2005-02-22 08:22:38 -05:00
parent 1662466ca2
commit 653bf6c25c
1 changed files with 18 additions and 0 deletions

View File

@ -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