mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Define long names for summary vectors in JSON files
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -35,6 +35,8 @@ public:
|
||||
|
||||
std::string longNameFromVectorName( const std::string& vectorName, bool returnVectorNameIfNotFound = false ) const;
|
||||
|
||||
void setQuantityInfos( const std::unordered_map<std::string, std::pair<std::string, std::string>>& infos );
|
||||
|
||||
private:
|
||||
class RiuSummaryQuantityInfo
|
||||
{
|
||||
@@ -59,8 +61,8 @@ private:
|
||||
RiuSummaryQuantityInfo quantityInfo( const std::string& vectorName, bool exactMatch = false ) const;
|
||||
RifEclipseSummaryAddressDefines::SummaryCategory categoryFromVectorName( const std::string& vectorName, bool exactMatch = false ) const;
|
||||
|
||||
static std::unordered_map<std::string, RiuSummaryQuantityInfo> createInfoForEclipseKeywords();
|
||||
static std::unordered_map<std::string, RiuSummaryQuantityInfo> createInfoFor6xKeywords();
|
||||
static std::string stringFromEnum( RifEclipseSummaryAddressDefines::SummaryCategory category );
|
||||
static RifEclipseSummaryAddressDefines::SummaryCategory enumFromString( const std::string& category );
|
||||
|
||||
private:
|
||||
std::unordered_map<std::string, RiuSummaryQuantityInfo> m_summaryToDescMap;
|
||||
|
||||
Reference in New Issue
Block a user