renamed a method, pass some class instances as reference

This commit is contained in:
john30
2014-11-29 19:03:21 +01:00
parent cfe7f99510
commit 11d43843c0
2 changed files with 10 additions and 12 deletions
+3 -3
View File
@@ -141,7 +141,7 @@ public:
*/
result_t prepare(const unsigned char srcAddress, SymbolString& masterData,
istringstream& input, char separator=';');
result_t handle(SymbolString& masterData, SymbolString& slaveData,
result_t decode(SymbolString& masterData, SymbolString& slaveData,
ostringstream& output, char separator=';', bool answer=false);
private:
@@ -203,14 +203,14 @@ public:
* @return the @a Message instance, or NULL.
* Note: the caller may not free the returned instance.
*/
Message* find(const string clazz, const string name, const bool isActive, const bool isSet);
Message* find(const string& clazz, const string& name, const bool isActive, const bool isSet);
/**
* @brief Finds the @a Message instance for the specified master data.
* @param master the master @a SymbolString for identifying the @a Message.
* @return the @a Message instance, or NULL.
* Note: the caller may not free the returned instance.
*/
Message* find(SymbolString master);
Message* find(SymbolString& master);
/**
* @brief Removes all @a Message instances.
*/