diff options
author | Frank Schönheit <fs@openoffice.org> | 2000-10-13 14:35:32 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2000-10-13 14:35:32 +0000 |
commit | 56d479c77fa1eb30c741013e8dd3e6da92159150 (patch) | |
tree | 09e356266c7b2ab7219da59b960f373c64206052 /comphelper | |
parent | 023dfb965047122c04bbf4b60aee0bf641778448 (diff) |
DECLARE_STL_(STDKEY_)MAP
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/inc/comphelper/stl_types.hxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/comphelper/inc/comphelper/stl_types.hxx b/comphelper/inc/comphelper/stl_types.hxx index d15cb7e1a4f1..a428e80ad82e 100644 --- a/comphelper/inc/comphelper/stl_types.hxx +++ b/comphelper/inc/comphelper/stl_types.hxx @@ -2,9 +2,9 @@ * * $RCSfile: stl_types.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: fs $ $Date: 2000-10-06 14:01:11 $ + * last change: $Author: fs $ $Date: 2000-10-13 15:35:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,6 +68,7 @@ #include <map> #include <hash_map> #include <stack> +#include <set> using namespace std; @@ -197,6 +198,14 @@ public: #define DECLARE_STL_USTRINGACCESS_MAP(valuetype, classname) \ DECLARE_STL_MAP(::rtl::OUString, valuetype, ::comphelper::UStringLess, classname) \ +#define DECLARE_STL_STDKEY_SET(valuetype, classname) \ + typedef ::std::set< valuetype > classname; \ + DECLARE_STL_ITERATORS(classname) \ + +#define DECLARE_STL_SET(valuetype, comparefct, classname) \ + typedef ::std::set< valuetype, comparefct > classname; \ + DECLARE_STL_ITERATORS(classname) \ + #endif #endif // _COMPHELPER_STLTYPES_HXX_ |