#ifndef __DOMAINADDREM_HPP #define __DOMAINADDREM_HPP #include #include "se/Appendable.hpp" #include "se/Status.hpp" #include #include class AddRemType; /** * Specification of how to write the add and rem elements to a domain update * command. Use subclasses of this to set attributes to add or remove from a * domain object. */ class DomainAddRem : public Appendable { public: /** * Maximal specification of the attribute values which may be added or * removed from a domain. Each of the parameters is optional, but at least * one must be specified. */ DomainAddRem(const AddRemType* type, const std::vector* nameservers, const std::vector* techContacts, const std::vector* adminContacts, const std::vector* billingContacts, const std::vector* statuses); virtual ~DomainAddRem(){}; virtual xercesc::DOMElement* appendToElement( XMLWriter *xmlWriter, xercesc::DOMElement *parent) const; private: std::string type; std::vector nameservers; std::vector techContacts; std::vector adminContacts; std::vector billingContacts; std::vector statuses; }; #endif // __DOMAINADDREM_HPP