Add second work package for REST API implementation
[anna.git] / include / anna / diameter / codec / EngineImpl.hpp
index 0305727..a73b42a 100644 (file)
@@ -324,11 +324,12 @@ public:
 
 
   /**
-     Loads an xml file representing a diameter message base in a DTD document (#getDTD)
+     Loads an xml file/string representing a diameter message base in a DTD document (#getDTD)
 
-     @param xmlPathFile Complete path file to the xml document which represents the diameter message
+     @param xmlPathFile_or_string Complete path file or string representation for the xml document which represents the diameter message
+     @param pathfile_or_string boolean about the interpretation of the previous argument
   */
-  Message *createMessage(const std::string & xmlPathFile) throw(anna::RuntimeException);
+  Message *createMessage(const std::string & xmlPathFile_or_string, bool pathfile_or_string = true) throw(anna::RuntimeException);
 
 
   /**