//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//------------------------------------------------------ Dictionary::addVendor()
//------------------------------------------------------------------------------
void Dictionary::addVendor(const Vendor & vendor) throw(anna::RuntimeException) {
//------------------------------------------------------ Dictionary::addVendor()
//------------------------------------------------------------------------------
void Dictionary::addVendor(const Vendor & vendor) throw(anna::RuntimeException) {
ITEM_OVERWRITE("vendor", vendor, a_vendors, a_vendorNames);
}
ITEM_OVERWRITE("vendor", vendor, a_vendors, a_vendorNames);
}
//--------------------------------------------------------- Dictionary::addAvp()
//------------------------------------------------------------------------------
void Dictionary::addAvp(const Avp & avp) throw(anna::RuntimeException) {
//--------------------------------------------------------- Dictionary::addAvp()
//------------------------------------------------------------------------------
void Dictionary::addAvp(const Avp & avp) throw(anna::RuntimeException) {
//----------------------------------------------------- Dictionary::addCommand()
//------------------------------------------------------------------------------
void Dictionary::addCommand(const Command & command) throw(anna::RuntimeException) {
//----------------------------------------------------- Dictionary::addCommand()
//------------------------------------------------------------------------------
void Dictionary::addCommand(const Command & command) throw(anna::RuntimeException) {
s_ex += command.asString();
throw anna::RuntimeException(s_ex, ANNA_FILE_LOCATION);
}
s_ex += command.asString();
throw anna::RuntimeException(s_ex, ANNA_FILE_LOCATION);
}
ITEM_OVERWRITE("command", command, a_commands, a_commandNames);
}
ITEM_OVERWRITE("command", command, a_commands, a_commandNames);
}