libzeep

PrevUpHomeNext

Class element_

zeep::xml::doctype::element_

Synopsis

// In header: <zeep/xml/doctype.hpp>


class element_ {
public:
  // construct/copy/destruct
  element_(const element_ &) = delete;
  element_(const std::string &, bool, bool);
  element_ & operator=(const element_ &) = delete;
  ~element_();

  // public member functions
  const attribute_list & get_attributes() const;
  void add_attribute(attribute_ *);
  const attribute_ * get_attribute(const std::string &) const;
  const std::string & name() const;
  bool is_declared() const;
  bool empty() const;
  void set_allowed(content_spec_ptr);
  content_spec_ptr get_allowed() const;
};

Description

element_ public construct/copy/destruct

  1. element_(const element_ &) = delete;
  2. element_(const std::string & name, bool declared, bool external);
  3. element_ & operator=(const element_ &) = delete;
  4. ~element_();

element_ public member functions

  1. const attribute_list & get_attributes() const;
  2. void add_attribute(attribute_ * attr);
  3. const attribute_ * get_attribute(const std::string & name) const;
  4. const std::string & name() const;
  5. bool is_declared() const;
  6. bool empty() const;
  7. void set_allowed(content_spec_ptr allowed);
  8. content_spec_ptr get_allowed() const;

PrevUpHomeNext