Skip to content
Snippets Groups Projects
Commit bd734be6 authored by Elliot Oram's avatar Elliot Oram
Browse files

Function defintions added to header

Refs #13300
parent 3e65fc96
No related branches found
No related tags found
No related merge requests found
...@@ -37,8 +37,22 @@ namespace Kernel { ...@@ -37,8 +37,22 @@ namespace Kernel {
class DLLExport StringContainsValidator : public TypedValidator<std::string> { class DLLExport StringContainsValidator : public TypedValidator<std::string> {
public: public:
StringContainsValidator(); StringContainsValidator();
/// Clone the current state
IValidator_sptr clone() const;
/// Allows a for a vector of required strings to be passed to the validator
void setRequiredStrings(const std::vector<std::string> &);
virtual ~StringContainsValidator(); virtual ~StringContainsValidator();
private:
/// Checks the value is valid
std::string checkValidity(const std::string &value) const;
/// A vector of the sub strings the string must contain in order to pass
/// validation
std::vector<std::string> m_requiredStrings;
}; };
} // namespace Kernel } // namespace Kernel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment