change in the type name of timeValue and sample dictionaries for settingsDict and domain

This commit is contained in:
Hamidreza
2025-05-15 12:00:13 +03:30
parent ab856e1df2
commit bf0197f643
30 changed files with 300 additions and 158 deletions

View File

@ -86,12 +86,12 @@ private:
word fieldName_;
/// Timestamp when mask was last updated (-1 indicates never updated)
timeValue lastUpdated_ = -1;
TimeValueType lastUpdated_ = -1;
/// Updates the mask based on current field values if needed, returns true if successful
bool updateMask()
{
timeValue t = database().currentTime();
TimeValueType t = database().currentTime();
if( equal( t, lastUpdated_)) return true;
@ -206,11 +206,11 @@ private:
std::vector<bool> mask_;
timeValue lastUpdated_ = -1;
TimeValueType lastUpdated_ = -1;
bool updateMask()
{
timeValue t = database().currentTime();
TimeValueType t = database().currentTime();
if( equal( t, lastUpdated_)) return true;

View File

@ -46,7 +46,7 @@ inline
bool writeField
(
iOstream& os,
timeValue t,
TimeValueType t,
const regionField<T> field,
uint32 threshold,
const T& defValue=T{}