CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | List of all members
CartoTypeCore::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 CartoTypeCore::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 CartoTypeCore::MDictionary< Key, Value >::~MDictionary ( )
inlinevirtual

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 CartoTypeCore::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: