1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
9 #include <anna/xml/Node.hpp>
10 #include <anna/xml/Attribute.hpp>
12 #include <anna/comm/TransportFactory.hpp>
17 string comm::TransportFactory::asString() const
19 std::string msg("comm::TransportFactory { Name: ");
21 msg += functions::asText(" | OverQuotaSize: ", a_overQuotaSize);
22 return msg += " bytes }";
25 xml::Node* comm::TransportFactory::asXML(xml::Node* parent) const
27 xml::Node* result = parent->createChild("comm.TransportFactory");
28 result->createAttribute("Name", a_name);
29 result->createAttribute("OverQuotaSize", a_overQuotaSize);