mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Output field keyword alias names
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "cafClassTypeName.h"
|
||||
#include "cafPdmDefaultObjectFactory.h"
|
||||
#include "cafPdmXmlFieldHandle.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QApplication>
|
||||
@@ -122,7 +123,14 @@ void RicExportObjectAndFieldKeywordsFeature::exportObjectAndFieldKeywords( const
|
||||
|
||||
for ( auto f : fields )
|
||||
{
|
||||
if ( !f->xmlCapability()->isIOReadable() ) continue;
|
||||
|
||||
stream << " " << f->keyword() << "\n";
|
||||
|
||||
for ( auto alias : f->keywordAliases() )
|
||||
{
|
||||
stream << " (A)" << alias << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
stream << "\n";
|
||||
|
||||
Reference in New Issue
Block a user