#include <stdarg.h>
-
-// libxml2 Parser doesn't support default attribute value retrieving:
-// <!ATTLIST avp name CDATA #REQUIRED code CDATA #REQUIRED vendor-name CDATA #IMPLIED may-encrypt (yes | no) \"no\" v-bit (must | may | shouldnot | mustnot) \"mustnot\" m-bit (must | may | shouldnot | mustnot) \"may\" p-bit (must | may | shouldnot | mustnot) \"may\">\n\
-// This dtd sintax will be replaced by #IMPLIED attributes.
-
namespace anna {
namespace diameter {
namespace stack {
//------------------------------------------------------------------------------
std::string anna::diameter::stack::Engine::asString(bool all) const throw() {
std::string trace;
- unsigned int stackId;
if(isEmpty()) {
trace = "No diameter stacks found";
throw anna::RuntimeException("Such provided stack id has already been created. Removes it before call this method", ANNA_FILE_LOCATION);
} else { // new stack
a_stacks[stackId] = dictionary; // no need for singleton destructor
- const_stack_iterator it = a_stacks.find(stackId);
+ //const_stack_iterator it = a_stacks.find(stackId);
//result = (Dictionary *)(*it).second;
result = dictionary;
}