PostgreSQL-IBAN/validate.h

15 lines
267 B
C
Raw Normal View History

2016-03-01 15:56:02 +00:00
#pragma once
#include <memory>
#include <map>
#include "specification.h"
class Validate {
2016-03-01 18:42:19 +00:00
public:
2016-03-01 15:56:02 +00:00
Validate();
2016-03-01 18:42:19 +00:00
~Validate();
2016-03-01 15:56:02 +00:00
bool isValid(std::string arg);
2016-03-01 18:42:19 +00:00
void addSpecification(Specification* specPtr);
2016-03-01 15:56:02 +00:00
2016-03-01 18:42:19 +00:00
std::map<std::string, Specification*> specifications;
2016-03-01 15:56:02 +00:00
};