Add more comments.

This commit is contained in:
Kristian Bendiksen 2019-11-05 14:10:14 +01:00
parent 44b9e52e1b
commit 31e0a0349f

View File

@ -82,6 +82,9 @@ void RifEclipseInputPropertyLoader::loadAndSyncronizeInputProperties(
setResolvedState( inputPropertyCollection, RimEclipseInputProperty::UNKNOWN, RimEclipseInputProperty::FILE_MISSING ); setResolvedState( inputPropertyCollection, RimEclipseInputProperty::UNKNOWN, RimEclipseInputProperty::FILE_MISSING );
} }
//--------------------------------------------------------------------------------------------------
/// Loads input property data from additional files.
//--------------------------------------------------------------------------------------------------
bool RifEclipseInputPropertyLoader::readInputPropertiesFromFiles( RimEclipseInputPropertyCollection* inputPropertyCollection, bool RifEclipseInputPropertyLoader::readInputPropertiesFromFiles( RimEclipseInputPropertyCollection* inputPropertyCollection,
RigEclipseCaseData* eclipseCaseData, RigEclipseCaseData* eclipseCaseData,
bool importFaults, bool importFaults,
@ -122,6 +125,9 @@ bool RifEclipseInputPropertyLoader::readInputPropertiesFromFiles( RimEclipseInpu
return true; return true;
} }
//--------------------------------------------------------------------------------------------------
/// Extract keywords from a input property file.
//--------------------------------------------------------------------------------------------------
std::set<QString> RifEclipseInputPropertyLoader::extractKeywordsOnFile( const QString& filename, bool isExistingFile ) std::set<QString> RifEclipseInputPropertyLoader::extractKeywordsOnFile( const QString& filename, bool isExistingFile )
{ {
std::set<QString> fileKeywordSet; std::set<QString> fileKeywordSet;
@ -138,6 +144,9 @@ std::set<QString> RifEclipseInputPropertyLoader::extractKeywordsOnFile( const QS
return fileKeywordSet; return fileKeywordSet;
} }
//--------------------------------------------------------------------------------------------------
/// Change the resolved state of all matching input properties in a collection.
//--------------------------------------------------------------------------------------------------
void RifEclipseInputPropertyLoader::setResolvedState( RimEclipseInputPropertyCollection* inputPropertyCollection, void RifEclipseInputPropertyLoader::setResolvedState( RimEclipseInputPropertyCollection* inputPropertyCollection,
RimEclipseInputProperty::ResolveState currentState, RimEclipseInputProperty::ResolveState currentState,
RimEclipseInputProperty::ResolveState newState ) RimEclipseInputProperty::ResolveState newState )
@ -151,6 +160,9 @@ void RifEclipseInputPropertyLoader::setResolvedState( RimEclipseInputPropertyCol
} }
} }
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RifEclipseInputPropertyLoader::readDataForEachInputProperty( RimEclipseInputPropertyCollection* inputPropertyCollection, void RifEclipseInputPropertyLoader::readDataForEachInputProperty( RimEclipseInputPropertyCollection* inputPropertyCollection,
RigEclipseCaseData* eclipseCaseData, RigEclipseCaseData* eclipseCaseData,
const QString& filename, const QString& filename,
@ -190,6 +202,9 @@ void RifEclipseInputPropertyLoader::readDataForEachInputProperty( RimEclipseInpu
} }
} }
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RifEclipseInputPropertyLoader::readInputPropertiesForRemainingKeywords( void RifEclipseInputPropertyLoader::readInputPropertiesForRemainingKeywords(
RimEclipseInputPropertyCollection* inputPropertyCollection, RimEclipseInputPropertyCollection* inputPropertyCollection,
RigEclipseCaseData* eclipseCaseData, RigEclipseCaseData* eclipseCaseData,