diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-04-16 15:58:29 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-04-16 15:58:29 +0000 |
commit | 5b8610443d641f35040b7154c038f9afb98a061e (patch) | |
tree | 84f77718d047f2f82e8f46f57aa6a3dd5a1b2384 /comphelper/inc | |
parent | 6f9227b290d6a1523b996ce95dc847ea4da8c5bf (diff) |
INTEGRATION: CWS fwkdbdesign01 (1.6.48); FILE MERGED
2007/03/07 08:47:32 as 1.6.48.1: #i45663# new helper method to match two sets of properties
Diffstat (limited to 'comphelper/inc')
-rw-r--r-- | comphelper/inc/comphelper/sequenceashashmap.hxx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/comphelper/inc/comphelper/sequenceashashmap.hxx b/comphelper/inc/comphelper/sequenceashashmap.hxx index d99aecb2211d..a65c499fd5be 100644 --- a/comphelper/inc/comphelper/sequenceashashmap.hxx +++ b/comphelper/inc/comphelper/sequenceashashmap.hxx @@ -4,9 +4,9 @@ * * $RCSfile: sequenceashashmap.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: ihi $ $Date: 2006-08-29 11:16:58 $ + * last change: $Author: ihi $ $Date: 2007-04-16 16:58:29 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -308,6 +308,24 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase } //--------------------------------------- + /** @short check if all items of given map + exists in these called map also. + + @descr Every item of the given map must exists + with same name and value inside these map. + But these map can contain additional items + which are not part of the search-map. + + @param rCheck + the map containing all items for checking. + + @return + TRUE if all items of Rcheck could be found + in these map; FALSE otherwise. + */ + sal_Bool match(const SequenceAsHashMap& rCheck) const; + + //--------------------------------------- /** @short can be used to generate a file dump of the current content of this instance. |