## Struct allowed_choice

zeep::xml::doctype::allowed_choice

## Synopsis

    // In header: </build/libzeep-8SPbhu/libzeep-3.0.5/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);
      virtual state_ptr create_state() const;
      virtual bool element_content() const;
      virtual 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.     virtual state_ptr create_state() const;

3.     virtual bool element_content() const;

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