#include "se/HostCreateCommand.hpp" #include "se/StandardObjectType.hpp" HostCreateCommand::HostCreateCommand (const std::string &name, const std::vector *addresses) : CreateCommand(StandardObjectType::HOST(), name) { if (addresses) { std::vector::const_iterator inaddr; for (inaddr = addresses->begin(); inaddr != addresses->end(); inaddr++) inaddr->appendToElement (xmlWriter, objElement); } }