summaryrefslogtreecommitdiffstats
path: root/src/sortdict.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-10-03 19:57:09 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-10-03 19:57:09 (GMT)
commit9e4e94fbabe856b8de4041ff2a27524f923343dc (patch)
tree47b95a7c3d927d419d3628f528e311aa99356173 /src/sortdict.h
parent00e00a1df00be67219a28aaa8d58e8a0991555eb (diff)
downloadDoxygen-9e4e94fbabe856b8de4041ff2a27524f923343dc.zip
Doxygen-9e4e94fbabe856b8de4041ff2a27524f923343dc.tar.gz
Doxygen-9e4e94fbabe856b8de4041ff2a27524f923343dc.tar.bz2
Release-1.2.11-20011003
Diffstat (limited to 'src/sortdict.h')
-rw-r--r--src/sortdict.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sortdict.h b/src/sortdict.h
index 77991ea..e78d038 100644
--- a/src/sortdict.h
+++ b/src/sortdict.h
@@ -169,6 +169,12 @@ class SDict
return m_dict->find(key);
}
+ /*! Equavalent to find(). */
+ T *operator[](const char *key)
+ {
+ return m_dict->find(key);
+ }
+
/*! Returns the item at position \a i in the sorted dictionary */
T *at(uint i)
{