#include <string>
#include <vector>
+#include "libbuilder_api.h"
/**
Stores a filename pattern. A pattern consists of a prefix and a suffix, and
can be applied to a body to form a complete filename. Either or both of the
prefix and suffix may be empty.
*/
-class Pattern
+class LIBBUILDER_API Pattern
{
private:
std::string prefix;
one percent sign (%) to separate the prefix and suffix. */
Pattern(const std::string &);
+ const std::string &get_prefix() const { return prefix; }
+ const std::string &get_suffix() const { return suffix; }
+
/** Applies the pattern to a body string. */
std::string apply(const std::string &) const;