#import <GPBDictionary.h>
Class used for map fields of <uint32_t, int32_t> values. This performs better than boxing into NSNumbers in NSDictionaries.
- Note
- This class is not meant to be subclassed.
Definition at line 722 of file bloaty/third_party/protobuf/objectivec/GPBDictionary.h.
◆ addRawEntriesFromDictionary: [1/2]
Adds the keys and raw enum values from another dictionary.
- Note
- This method bypass the validationFunc to enable the setting of values that were not known at the time the binary was compiled.
- Parameters
-
otherDictionary | Dictionary containing entries to be added to this dictionary. |
◆ addRawEntriesFromDictionary: [2/2]
Adds the keys and raw enum values from another dictionary.
- Note
- This method bypass the validationFunc to enable the setting of values that were not known at the time the binary was compiled.
- Parameters
-
otherDictionary | Dictionary containing entries to be added to this dictionary. |
◆ enumerateKeysAndEnumsUsingBlock: [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. |
◆ enumerateKeysAndEnumsUsingBlock: [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. |
◆ enumerateKeysAndRawValuesUsingBlock: [1/2]
Enumerates the keys and values on this dictionary with the given block.
- Note
- This method bypass the validationFunc to enable the access of values that were not known at the time the binary was compiled.
- Parameters
-
block | The block to enumerate with. key: The key for the current entry. rawValue: The value for the current entry stop: A pointer to a boolean that when set stops the enumeration. |
◆ enumerateKeysAndRawValuesUsingBlock: [2/2]
Enumerates the keys and values on this dictionary with the given block.
- Note
- This method bypass the validationFunc to enable the access of values that were not known at the time the binary was compiled.
- Parameters
-
block | The block to enumerate with. key: The key for the current entry. rawValue: The value for the current entry stop: A pointer to a boolean that when set stops the enumeration. |
◆ getEnum:forKey: [1/2]
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.
◆ getEnum:forKey: [2/2]
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.
◆ getRawValue:forKey: [1/2]
Gets the raw enum value for the given key.
- Note
- This method bypass the validationFunc to enable the access of values that were not known at the time the binary was compiled.
- Parameters
-
rawValue | 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.
◆ getRawValue:forKey: [2/2]
Gets the raw enum value for the given key.
- Note
- This method bypass the validationFunc to enable the access of values that were not known at the time the binary was compiled.
- Parameters
-
rawValue | 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.
◆ initWithDictionary: [1/2]
Initializes a dictionary with the entries from the given. dictionary.
- Parameters
-
dictionary | Dictionary containing the entries to add to the dictionary. |
- Returns
- A newly initialized dictionary with the entries from the given dictionary in it.
◆ initWithDictionary: [2/2]
Initializes a dictionary with the entries from the given. dictionary.
- Parameters
-
dictionary | Dictionary containing the entries to add to the dictionary. |
- Returns
- A newly initialized dictionary with the entries from the given dictionary in it.
◆ initWithValidationFunction: [1/2]
Initializes a dictionary with the given validation function.
- Parameters
-
func | The enum validation function for the dictionary. |
- Returns
- A newly initialized dictionary.
◆ initWithValidationFunction: [2/2]
Initializes a dictionary with the given validation function.
- Parameters
-
func | The enum validation function for the dictionary. |
- Returns
- A newly initialized dictionary.
◆ initWithValidationFunction:capacity: [1/2]
Initializes a dictionary with the given capacity.
- Parameters
-
func | The enum validation function for the dictionary. |
numItems | Capacity needed for the dictionary. |
- Returns
- A newly initialized dictionary with the given capacity.
◆ initWithValidationFunction:capacity: [2/2]
Initializes a dictionary with the given capacity.
- Parameters
-
func | The enum validation function for the dictionary. |
numItems | Capacity needed for the dictionary. |
- Returns
- A newly initialized dictionary with the given capacity.
◆ initWithValidationFunction:rawValues:forKeys:count: [1/2]
Initializes a dictionary with the entries given.
- Parameters
-
func | The enum validation function for the dictionary. |
values | The raw enum values values to be placed in the dictionary. |
keys | The keys under which to store the values. |
count | The number of entries to store in the dictionary. |
- Returns
- A newly initialized dictionary with the keys and values in it.
◆ initWithValidationFunction:rawValues:forKeys:count: [2/2]
Initializes a dictionary with the entries given.
- Parameters
-
func | The enum validation function for the dictionary. |
values | The raw enum values values to be placed in the dictionary. |
keys | The keys under which to store the values. |
count | The number of entries to store in the dictionary. |
- Returns
- A newly initialized dictionary with the keys and values in it.
◆ removeAll [1/2]
Removes all entries in this dictionary.
◆ removeAll [2/2]
Removes all entries in this dictionary.
◆ removeEnumForKey: [1/2]
- (void) removeEnumForKey: |
|
(uint32_t) |
aKey |
|
Removes the entry for the given key.
- Parameters
-
aKey | Key to be removed from this dictionary. |
◆ removeEnumForKey: [2/2]
- (void) removeEnumForKey: |
|
(uint32_t) |
aKey |
|
Removes the entry for the given key.
- Parameters
-
aKey | Key to be removed from this dictionary. |
◆ serializedDataForUnknownValue:forKey:keyDataType: [1/2]
- (NSData *) serializedDataForUnknownValue: |
|
(int32_t) |
value |
forKey: |
|
(GPBGenericValue *) |
key |
keyDataType: |
|
(GPBDataType) |
keyDataType |
|
|
| |
|
implementation |
◆ serializedDataForUnknownValue:forKey:keyDataType: [2/2]
- (NSData *) serializedDataForUnknownValue: |
|
(int32_t) |
value |
forKey: |
|
(GPBGenericValue *) |
key |
keyDataType: |
|
(GPBDataType) |
keyDataType |
|
|
| |
|
implementation |
◆ setEnum:forKey: [1/2]
Sets the value for the given key.
- Parameters
-
value | The value to set. |
key | The key under which to store the value. |
◆ setEnum:forKey: [2/2]
Sets the value for the given key.
- Parameters
-
value | The value to set. |
key | The key under which to store the value. |
◆ setRawValue:forKey: [1/2]
Sets the raw enum value for the given key.
- Note
- This method bypass the validationFunc to enable the setting of values that were not known at the time the binary was compiled.
- Parameters
-
rawValue | The raw enum value to set. |
key | The key under which to store the raw enum value. |
◆ setRawValue:forKey: [2/2]
Sets the raw enum value for the given key.
- Note
- This method bypass the validationFunc to enable the setting of values that were not known at the time the binary was compiled.
- Parameters
-
rawValue | The raw enum value to set. |
key | The key under which to store the raw enum value. |
◆ _autocreator
◆ count
◆ validationFunc
The documentation for this class was generated from the following file: