#ifndef __HOST_ADD_REM_HPP #define __HOST_ADD_REM_HPP #include "se/InetAddress.hpp" #include "se/Status.hpp" #include #include class XMLWriter; /** * Use this to specify attributes to add to or remove from a host object via a * host update EPP service element, implemented in HostUpdateCommand. This * class implements writing the add and rem elements to a host update command. */ class HostAddRem { public: /** * Each of the parameters is optional, but at least one must be specified. */ HostAddRem (const std::vector &addresses, const std::vector &statuses); xercesc::DOMElement* appendToElement( XMLWriter *xmlWriter, xercesc::DOMElement *parent) const; private: std::vector addresses; std::vector statuses; }; #endif // __HOST_ADD_REM_HPP