last ...
This commit is contained in:
@@ -2450,6 +2450,36 @@ int AddIfNotExists(
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Update to Time of Specifiex Collection ...
|
||||
*
|
||||
* @param items: XOBFVG instance Collection ...
|
||||
* @param value: datetime ...
|
||||
*/
|
||||
template <typename T>
|
||||
void SpecifiedUpdateTo(
|
||||
T *&items[],
|
||||
datetime value = NULL //
|
||||
)
|
||||
{
|
||||
//
|
||||
value = NormalizeTime(value);
|
||||
|
||||
//
|
||||
int count = ArraySize(items);
|
||||
bool has = HasChild(items);
|
||||
if (!has)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
items[i].To(value);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
template <typename T>
|
||||
int FilterZones(
|
||||
|
||||
Reference in New Issue
Block a user