added bool completeMatch to MessageMap::findAll

This commit is contained in:
john30
2014-12-27 16:13:51 +01:00
parent 088d99d4bc
commit 3e9bdee2ed
2 changed files with 13 additions and 6 deletions
+2 -1
View File
@@ -326,10 +326,11 @@ public:
* @param clazz the device class, or empty for any.
* @param name the message name, or empty for any.
* @param pb the primary ID byte, or -1 for any.
* @param completeMatch false to also include messages where the class and name matches only a part of the given class and name.
* @return the found @a Message instances.
* Note: the caller may not free the returned instances.
*/
deque<Message*> findAll(const string& clazz, const string& name, const short pb);
deque<Message*> findAll(const string& clazz, const string& name, const short pb, const bool completeMatch=true);
/**
* @brief Find the @a Message instance for the specified master data.