PostgreSQL-IBAN/validate.h

17 lines
354 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
void setSelectedSpecification(std::string countryCode);
2016-03-01 18:42:19 +00:00
std::map<std::string, Specification*> specifications;
Specification* selectedSpec;
2016-03-01 15:56:02 +00:00
};