Exclusion: New syntax

- Removed ::serialize which is unused.
- Moved to a two-arg ctor, rather than a 2-step init.
This commit is contained in:
Paul Beckingham 2016-04-27 18:01:35 -04:00
parent 07077ebee4
commit 500fa9784a
2 changed files with 44 additions and 48 deletions

View file

@ -35,13 +35,10 @@
class Exclusion
{
public:
Exclusion () = default;
void initialize (const std::string&);
Exclusion (const std::string&, const std::string&);
std::vector <std::string> tokens () const;
std::vector <Range> ranges (const Range&) const;
bool additive () const;
std::string serialize () const;
std::string dump () const;
private: