## Class validator

zeep::xml::doctype::validator

## Synopsis

    // In header: </home/maarten/projects/libzeep/zeep/xml/doctype.hpp>

    class validator {
    public:
      // construct/copy/destruct
      validator();
      validator(allowed_ptr);
      validator(const validator &);
      validator& operator=(const validator &);
      ~validator();

      // public member functions
      void reset();
      bool allow(const std::string &);
      bool allow_char_data();
      bool done();
      bool operator()(const std::string &);
    };

## Description

### `validator` public construct/copy/destruct

1.     validator();

2.     validator(allowed_ptr allowed);

3.     validator(const validator & other);

4.     validator& operator=(const validator & other);

5.     ~validator();

### `validator` public member functions

1.     void reset();

2.     bool allow(const std::string & name);

3.     bool allow_char_data();

4.     bool done();

5.     bool operator()(const std::string & name);