System::Collections::Generic::Dictionary::Dictionary constructor
Contents
[
Hide
]Dictionary::Dictionary() constructor
Creates empty dictionary.
System::Collections::Generic::Dictionary<TKey, TValue>::Dictionary()
See Also
- Class Dictionary
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
Dictionary::Dictionary(const map_t&) constructor
Copies data from map.
System::Collections::Generic::Dictionary<TKey, TValue>::Dictionary(const map_t &map)
| Parameter | Type | Description |
|---|---|---|
| map | const map_t& | Map to copy data from. |
See Also
- Typedef map_t
- Class Dictionary
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
Dictionary::Dictionary(const SharedPtr<IDictionary<TKey, TValue>>&) constructor
Copy constructor.
System::Collections::Generic::Dictionary<TKey, TValue>::Dictionary(const SharedPtr<IDictionary<TKey, TValue>> &src)
| Parameter | Type | Description |
|---|---|---|
| src | const SharedPtr<IDictionary<TKey, TValue>>& | Dictionary to copy data from. |
See Also
- Typedef SharedPtr
- Class IDictionary
- Class Dictionary
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
Dictionary::Dictionary(const SharedPtr<IDictionary<TKey, TValue>>&, const SharedPtr<IEqualityComparer<TKey>>&) constructor
Copy constructor.
System::Collections::Generic::Dictionary<TKey, TValue>::Dictionary(const SharedPtr<IDictionary<TKey, TValue>> &src, const SharedPtr<IEqualityComparer<TKey>> &comparer)
| Parameter | Type | Description |
|---|---|---|
| src | const SharedPtr<IDictionary<TKey, TValue>>& | Source dictionary. |
| comparer | const SharedPtr<IEqualityComparer<TKey>>& | Comparer object to use. |
See Also
- Typedef SharedPtr
- Class IDictionary
- Class IEqualityComparer
- Class Dictionary
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
Dictionary::Dictionary(const SharedPtr<IEqualityComparer<TKey>>&) constructor
Creates empty dictionary.
System::Collections::Generic::Dictionary<TKey, TValue>::Dictionary(const SharedPtr<IEqualityComparer<TKey>> &comparer)
| Parameter | Type | Description |
|---|---|---|
| comparer | const SharedPtr<IEqualityComparer<TKey>>& | Comparer to use. |
See Also
- Typedef SharedPtr
- Class IEqualityComparer
- Class Dictionary
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
Dictionary::Dictionary(int) constructor
Overload which corresponds to creating pre-allocated dictionary; does no allocation, actually.
System::Collections::Generic::Dictionary<TKey, TValue>::Dictionary(int capacity)
| Parameter | Type | Description |
|---|---|---|
| capacity | int | Capacity to allocate; ignored. |
See Also
- Class Dictionary
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
Dictionary::Dictionary(int, const SharedPtr<IEqualityComparer<TKey>>&) constructor
Creates empty dictionary.
System::Collections::Generic::Dictionary<TKey, TValue>::Dictionary(int capacity, const SharedPtr<IEqualityComparer<TKey>> &comparer)
| Parameter | Type | Description |
|---|---|---|
| capacity | int | Dictionary capacity after creation; ignored. |
| comparer | const SharedPtr<IEqualityComparer<TKey>>& | Comparer to use. |
See Also
- Typedef SharedPtr
- Class IEqualityComparer
- Class Dictionary
- Namespace System::Collections::Generic
- Library Aspose.Font for C++