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::MPointerDictionary< Key, Value > Class Template Referenceabstract

#include <cartotype_base.h>

Public Member Functions

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

Detailed Description

template<class Key, class Value>
class CartoTypeCore::MPointerDictionary< Key, Value >

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

Constructor & Destructor Documentation

◆ ~MPointerDictionary()

template<class Key , class Value >
virtual CartoTypeCore::MPointerDictionary< Key, Value >::~MPointerDictionary ( )
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::MPointerDictionary< Key, Value >::Find ( const Key &  aKey,
const Value *&  aValue 
) const
pure virtual

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


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