7 Stores a filename pattern. A pattern consists of a prefix and a suffix, and
8 can be applied to a body to form a complete filename. Either or both of the
9 prefix and suffix may be empty.
18 /** Constructs a pattern from a single string. The string must have exactly
19 one percent sign (%) to separate the prefix and suffix. */
20 Pattern(const std::string &);
22 /** Applies the pattern to a body string. */
23 std::string apply(const std::string &) const;