@@ -1,7 +1,7 @@ /* - * Copyright (c) 2008 - 2009 + * Copyright (c) 2008 - 2010 * Jonathan Schleifer * * All rights reserved. * * This file is part of ObjFW. It may be distributed under the terms of the @@ -14,19 +14,21 @@ #import "OFObject.h" #import "OFEnumerator.h" @class OFArray; +/// \cond internal struct of_dictionary_bucket { OFObject *key; OFObject *object; uint32_t hash; }; +/// \endcond /** - * The OFDictionary class is a class for using hash tables. + * \brief A class for storing objects in a hash table. */ @interface OFDictionary: OFObject { struct of_dictionary_bucket *data; @@ -155,10 +157,11 @@ * \return An OFEnumerator to enumerate through the dictionary's keys */ - (OFEnumerator*)keyEnumerator; @end +/// \cond internal @interface OFDictionaryEnumerator: OFEnumerator { struct of_dictionary_bucket *data; size_t size; unsigned long mutations; @@ -174,7 +177,8 @@ @interface OFDictionaryObjectEnumerator: OFDictionaryEnumerator @end @interface OFDictionaryKeyEnumerator: OFDictionaryEnumerator @end +/// \endcond #import "OFMutableDictionary.h"