Mantid
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
Mantid::PythonInterface::Converters::MapToPyDictionary< KeyType, ValueType > Struct Template Reference

#include <MapToPyDictionary.h>

Public Types

using MapType = std::map< KeyType, ValueType >
 

Public Member Functions

 MapToPyDictionary (const MapType &map)
 
boost::python::dict operator() ()
 Produces a python dictionary. More...
 

Private Attributes

MapType m_map
 Map. More...
 

Detailed Description

template<typename KeyType, typename ValueType>
struct Mantid::PythonInterface::Converters::MapToPyDictionary< KeyType, ValueType >

Definition at line 21 of file MapToPyDictionary.h.

Member Typedef Documentation

◆ MapType

template<typename KeyType , typename ValueType >
using Mantid::PythonInterface::Converters::MapToPyDictionary< KeyType, ValueType >::MapType = std::map<KeyType, ValueType>

Definition at line 24 of file MapToPyDictionary.h.

Constructor & Destructor Documentation

◆ MapToPyDictionary()

template<typename KeyType , typename ValueType >
Mantid::PythonInterface::Converters::MapToPyDictionary< KeyType, ValueType >::MapToPyDictionary ( const MapType map)
inline

Definition at line 26 of file MapToPyDictionary.h.

Member Function Documentation

◆ operator()()

template<typename KeyType , typename ValueType >
boost::python::dict Mantid::PythonInterface::Converters::MapToPyDictionary< KeyType, ValueType >::operator() ( )
inline

Produces a python dictionary.

Definition at line 28 of file MapToPyDictionary.h.

Member Data Documentation

◆ m_map

template<typename KeyType , typename ValueType >
MapType Mantid::PythonInterface::Converters::MapToPyDictionary< KeyType, ValueType >::m_map
private

Map.

Definition at line 39 of file MapToPyDictionary.h.


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