CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | List of all members
CartoType::MDictionary< Key, Value > Class Template Referenceabstract

#include <cartotype_base.h>

Public Member Functions

virtual ~MDictionary ()
virtual bool Find (const Key &aKey, Value &aValue) const =0

Detailed Description

template<class Key, class Value>
class CartoType::MDictionary< Key, Value >

A templated interface class defining dictionaries in which a key type is used to access a value.

Constructor & Destructor Documentation

◆ ~MDictionary()

template<class Key , class Value >
virtual CartoType::MDictionary< Key, Value >::~MDictionary ( )

Although pointers to this class are not owned, a virtual destructor is provided for safety and to avoid compiler warnings.

Member Function Documentation

◆ Find()

template<class Key , class Value >
virtual bool CartoType::MDictionary< Key, Value >::Find ( const Key &  aKey,
Value &  aValue 
) const
pure virtual

Return true if aKey exists, false if not. If aKey exists in the dictionary, set aValue to the value associated with aKey.

The documentation for this class was generated from the following file: