## Struct allowed_choice

zeep::xml::doctype::allowed_choice

## Synopsis

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

    struct allowed_choice : public zeep::xml::doctype::allowed_base {
      // construct/copy/destruct
      allowed_choice(bool);
      allowed_choice(allowed_ptr, bool);
      ~allowed_choice();

      // public member functions
      void add(allowed_ptr);
      state_ptr create_state() const;
      bool element_content() const;
      void print(std::ostream &);

      // public data members
      allowed_list m_allowed;
      bool m_mixed;
    };

## Description

### `allowed_choice` public construct/copy/destruct

1.     allowed_choice(bool mixed);

2.     allowed_choice(allowed_ptr a, bool mixed);

3.     ~allowed_choice();

### `allowed_choice` public member functions

1.     void add(allowed_ptr a);

2.     state_ptr create_state() const;

3.     bool element_content() const;

4.     void print(std::ostream & os);