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>
11 #include <anna/ldap/Request.hpp>
16 string ldap::Request::asString() const
18 string result("ldap::Request { ");
19 result += ClassCode::asString(a_classCode);
20 return result += " }";
23 xml::Node* ldap::Request::asXML(xml::Node* parent) const
25 xml::Node* result = parent->createChild("ldap.Request");
26 result->createAttribute("ClassCode", ClassCode::asString(a_classCode));