System::Collections::Generic::_ValueCollection class
Contents
[
Hide
]_ValueCollection class
Collection of Dictionary’s values. References collection, doesn’t copy anything. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
template<typename Dict>class _ValueCollection : public System::Collections::Generic::BaseKVCollection<Dict, Dict::map_t::mapped_type>
Nested classes
- Class Enumerator
Methods
Method | Description |
---|---|
_ValueCollection(const typename Dict::Ptr&) | Initializes collection referencing specified dictionary. |
Contains(const TValue&) const override | Checks if item is present in container. |
GetEnumerator() override | Gets enumerator iterating through values. |
idx_get(int) const override | Implements IList method. Not supported. |
virtualizeBeginConstIterator() const override | Gets the implementation of begin const iterator for the current container. |
virtualizeBeginIterator() override | Gets the implementation of begin iterator for the current container. |
virtualizeEndConstIterator() const override | Gets the implementation of end const iterator for the current container. |
virtualizeEndIterator() override | Gets the implementation of end iterator for the current container. |
Typedefs
Typedef | Description |
---|---|
TValue | Value type. |
See Also
- Class BaseKVCollection
- Namespace System::Collections::Generic
- Library Aspose.PUB for C++