X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fldap%2FSearch.cpp;fp=source%2Fldap%2FSearch.cpp;h=b068f70d3d2c12ba923a236fed9975f3ba7b81fc;hp=2f2e063aeb0bdb90510ddc11f53757ecdd4c32dc;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/ldap/Search.cpp b/source/ldap/Search.cpp index 2f2e063..b068f70 100644 --- a/source/ldap/Search.cpp +++ b/source/ldap/Search.cpp @@ -24,7 +24,7 @@ using namespace anna::ldap; Search::attribute_pool Search::st_attributes; void Search::clear() -throw() { +{ a_base.clear(); a_scope = Scope::Base; clearFilter(); @@ -34,7 +34,7 @@ throw() { } void Search::clearAttributes() -throw() { +{ for(attribute_iterator ii = attribute_begin(), maxii = attribute_end(); ii != maxii; ii ++) st_attributes.release(&attribute(ii)); @@ -42,7 +42,7 @@ throw() { } IdMessage Search::send(Session& session) const -throw() { +{ IdMessage result(-1); LDAP* ldap = (LDAP*) session.getLDAP(); int scope = -1; @@ -90,7 +90,7 @@ throw() { } string Search::asString() const -throw() { +{ string result("ldap::Search { "); result += Request::asString(); result += " | Base: "; @@ -105,7 +105,7 @@ throw() { } xml::Node* Search::asXML(xml::Node* parent) const -throw() { +{ parent = Request::asXML(parent); parent->createAttribute("Base", a_base); parent->createAttribute("Scope", Scope::asText(a_scope));