#import <GPBDictionary.h>
Class used for map fields of <NSString, uint32_t> values. This performs better than boxing into NSNumbers in NSDictionaries.
- Note
- This class is not meant to be subclassed.
Definition at line 4662 of file bloaty/third_party/protobuf/objectivec/GPBDictionary.h.
◆ addEntriesFromDictionary: [1/2]
Adds the keys and values from another dictionary.
- Parameters
-
otherDictionary | Dictionary containing entries to be added to this dictionary. |
◆ addEntriesFromDictionary: [2/2]
Adds the keys and values from another dictionary.
- Parameters
-
otherDictionary | Dictionary containing entries to be added to this dictionary. |
◆ enumerateKeysAndUInt32sUsingBlock: [1/2]
Enumerates the keys and values on this dictionary with the given block.
- Parameters
-
block | The block to enumerate with. key: The key for the current entry. value: The value for the current entry stop: A pointer to a boolean that when set stops the enumeration. |
◆ enumerateKeysAndUInt32sUsingBlock: [2/2]
Enumerates the keys and values on this dictionary with the given block.
- Parameters
-
block | The block to enumerate with. key: The key for the current entry. value: The value for the current entry stop: A pointer to a boolean that when set stops the enumeration. |
◆ getUInt32:forKey: [1/2]
- (BOOL) getUInt32: |
|
(nullable uint32_t *) |
value |
forKey: |
|
(NSString *) |
key |
|
|
| |
Gets the value for the given key.
- Parameters
-
value | Pointer into which the value will be set, if found. |
key | Key under which the value is stored, if present. |
- Returns
- YES if the key was found and the value was copied, NO otherwise.
◆ getUInt32:forKey: [2/2]
- (BOOL) getUInt32: |
|
(nullable uint32_t *) |
value |
forKey: |
|
(NSString *) |
key |
|
|
| |
Gets the value for the given key.
- Parameters
-
value | Pointer into which the value will be set, if found. |
key | Key under which the value is stored, if present. |
- Returns
- YES if the key was found and the value was copied, NO otherwise.
◆ initWithCapacity: [1/2]
- (instancetype) initWithCapacity: |
|
(NSUInteger) |
numItems |
|
Initializes this dictionary with the requested capacity.
- Parameters
-
numItems | Number of items needed for this dictionary. |
- Returns
- A newly initialized dictionary with the requested capacity.
◆ initWithCapacity: [2/2]
- (instancetype) initWithCapacity: |
|
(NSUInteger) |
numItems |
|
Initializes this dictionary with the requested capacity.
- Parameters
-
numItems | Number of items needed for this dictionary. |
- Returns
- A newly initialized dictionary with the requested capacity.
◆ initWithDictionary: [1/2]
Initializes this dictionary, copying the entries from the given dictionary.
- Parameters
-
dictionary | Dictionary containing the entries to add to this dictionary. |
- Returns
- A newly initialized dictionary with the entries of the given dictionary.
◆ initWithDictionary: [2/2]
Initializes this dictionary, copying the entries from the given dictionary.
- Parameters
-
dictionary | Dictionary containing the entries to add to this dictionary. |
- Returns
- A newly initialized dictionary with the entries of the given dictionary.
◆ initWithUInt32s:forKeys:count: [1/2]
Initializes this dictionary, copying the given values and keys.
- Parameters
-
values | The values to be placed in this dictionary. |
keys | The keys under which to store the values. |
count | The number of elements to copy into the dictionary. |
- Returns
- A newly initialized dictionary with a copy of the values and keys.
◆ initWithUInt32s:forKeys:count: [2/2]
Initializes this dictionary, copying the given values and keys.
- Parameters
-
values | The values to be placed in this dictionary. |
keys | The keys under which to store the values. |
count | The number of elements to copy into the dictionary. |
- Returns
- A newly initialized dictionary with a copy of the values and keys.
◆ removeAll [1/2]
Removes all entries in this dictionary.
◆ removeAll [2/2]
Removes all entries in this dictionary.
◆ removeUInt32ForKey: [1/2]
- (void) removeUInt32ForKey: |
|
(NSString *) |
aKey |
|
Removes the entry for the given key.
- Parameters
-
aKey | Key to be removed from this dictionary. |
◆ removeUInt32ForKey: [2/2]
- (void) removeUInt32ForKey: |
|
(NSString *) |
aKey |
|
Removes the entry for the given key.
- Parameters
-
aKey | Key to be removed from this dictionary. |
◆ setUInt32:forKey: [1/2]
- (void) setUInt32: |
|
(uint32_t) |
value |
forKey: |
|
(NSString *) |
key |
|
|
| |
Sets the value for the given key.
- Parameters
-
value | The value to set. |
key | The key under which to store the value. |
◆ setUInt32:forKey: [2/2]
- (void) setUInt32: |
|
(uint32_t) |
value |
forKey: |
|
(NSString *) |
key |
|
|
| |
Sets the value for the given key.
- Parameters
-
value | The value to set. |
key | The key under which to store the value. |
◆ _autocreator
◆ count
The documentation for this class was generated from the following file: