PostgreSQL-IBAN/validate.h

17 lines
354 B
C
Raw Normal View History

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