Allow diameter message & avp to normalize their xml representation
[anna.git] / include / anna / diameter / codec / Avp.hpp
index c4debd2..5bffde7 100644 (file)
@@ -712,9 +712,11 @@ public:
 
   /**
      Class xml string representation
+     @param sortAttributes Optional normalization used to match xml representation with regexps
+
      \return XML string representation with relevant information for this instance.
   */
-  std::string asXMLString() const throw();
+  std::string asXMLString(bool sortAttributes = false) const throw();
 
   /**
      Comparison operator by mean serialization