Define long names for summary vectors in JSON files

This commit is contained in:
Magne Sjaastad committed 2024-10-14 08:53:28 +02:00
1 parent 0330c3cacd
commit 4719090b5f
11 files changed
+8337 -2129

No files matched your search

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;