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