mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2000 Curve Creator : Fix initialization of map, and use std::string
This commit is contained in:
@@ -19,20 +19,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
class QString;
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
class RiuSummaryVectorDescriptionMap
|
||||
{
|
||||
public:
|
||||
static RiuSummaryVectorDescriptionMap* instance();
|
||||
|
||||
QString fieldInfo(const QString &field);
|
||||
std::string fieldInfo(const std::string& field);
|
||||
|
||||
private:
|
||||
RiuSummaryVectorDescriptionMap();
|
||||
void populateFieldToInfoMap();
|
||||
|
||||
private:
|
||||
std::map<QString, QString> m_summaryToDescMap;
|
||||
std::map<std::string, std::string> m_summaryToDescMap;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user