Virtualize Dictionary::load, implements launcher management operation: forceCountersR...
[anna.git] / include / anna / diameter / stack / Dictionary.hpp
index e5eece2..e332fec 100644 (file)
@@ -110,10 +110,12 @@ public:
   typedef std::map<CommandId, Command, lessCommand> command_container;
   typedef command_container::const_iterator const_command_iterator;
 
+protected:
+  std::string a_name;
+
 private:
 
   bool a_allowUpdates;
-  std::string a_name;
   format_container a_formats;
   vendor_container a_vendors;
   avp_container a_avps;
@@ -221,7 +223,7 @@ public:
   * and stack-specific commands in other set of xml files. Application only would have to load common part for all
   * the created dictionaries with this method and specific one for each final dictionary:
   *
-  * @param xmlPathFile Path file to the xml document which represents the diameter dictionary.
+  * @param pathFile Path file to the xml document which represents the diameter dictionary.
   *
   * <pre>
   * Dictionary *nokiaStack = stackEngine.createDictionary("/var/tmp/vendors_and_avps.xml", NOKIA_STACK_ID);
@@ -230,7 +232,7 @@ public:
   * huaweiStack->load("/var/tmp/huawei_commands.xml");
   * </pre>
   */
-  void load(const std::string & xmlPathFile) throw(anna::RuntimeException);
+  virtual void load(const std::string & pathFile) throw(anna::RuntimeException);
 
   /**
   * Clears dictionary content