/*------------------------------------------------------------------------------ Expand brace expressions within each token in a list. Each brace expression consists of zero or more components, separated by a LIST_SEPARATOR character. Each component can be a range of values or a string that may include another brace expression. Version 1.0 2014-12-16 Brian B. McGuinness ------------------------------------------------------------------------------*/ #ifndef BraceExpander_h #define BraceExpander_h #include #include #include "types.h" class BraceExpander { public: int compare_strings (const String &string1, const String &string2); std::vector expandBraces (std::vector &tokens); String &increment_string (String &value, const String &pattern); private: static Char SUCCESSOR[]; void append_string_to_tokens (std::vector &list, int startAt, String suffix); }; #endif // ! BraceExpander_h