## Class entity

zeep::xml::doctype::entity

## Synopsis

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

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

      // public member functions
      const std::string & name() const;
      const std::string & get_replacement() const;
      const std::string & get_path() const;
      bool is_parsed() const;
      const std::string & get_ndata() const;
      void set_ndata(const std::string &);
      bool is_external() const;
      bool is_externally_defined() const;
      void set_externally_defined(bool);
    };

## Description

### `entity` public construct/copy/destruct

1.     entity(const entity &) = delete;

2.     entity(const std::string & name, const std::string & replacement,
              bool external, bool parsed);

3.     entity(const std::string & name, const std::string & replacement,
              const std::string & path);

4.     entity & operator=(const entity &) = delete;

### `entity` public member functions

1.     const std::string & name() const;

2.     const std::string & get_replacement() const;

3.     const std::string & get_path() const;

4.     bool is_parsed() const;

5.     const std::string & get_ndata() const;

6.     void set_ndata(const std::string & ndata);

7.     bool is_external() const;

8.     bool is_externally_defined() const;

9.     void set_externally_defined(bool externally_defined);