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:
parent
1662466ca2
commit
653bf6c25c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue