29#include <sptk5/RegularExpression.h>
30#include <sptk5/Variant.h>
31#include <sptk5/xdoc/Node.h>
41 enum class Type : uint8_t
88 const std::vector<RegularExpression>&
patterns()
const
103 Type m_type {Type::Unknown};
104 String m_wsdlTypeName;
105 Strings m_enumeration;
106 std::vector<RegularExpression> m_patterns;
109using SWSRestriction = std::shared_ptr<WSRestriction>;
Definition: WSRestriction.h:39
const std::vector< RegularExpression > & patterns() const
Definition: WSRestriction.h:88
Strings enumeration() const
Definition: WSRestriction.h:97
void check(const String &typeName, const String &value) const
WSRestriction(Type type, const String &wsdlTypeName, const Strings &enumerationsOrPattern)
String generateConstructor(const String &variableName) const
WSRestriction(const String &typeName, const xdoc::SNode &simpleTypeElement)