mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Ref T261, utility functions in value classes
* set offset values * do not change PQs if PQ is null * sorted by callsign
This commit is contained in:
committed by
Roland Winklmeier
parent
3f4cb7529c
commit
8e3b55b4ca
@@ -215,6 +215,14 @@ namespace BlackMisc
|
||||
container().sortBy(&OBJ::getCallsign);
|
||||
}
|
||||
|
||||
template<class OBJ, class CONTAINER>
|
||||
CONTAINER ICallsignObjectList<OBJ, CONTAINER>::sortedByCallsign() const
|
||||
{
|
||||
CONTAINER copy(this->container());
|
||||
copy.sortByCallsign();
|
||||
return copy;
|
||||
}
|
||||
|
||||
template <class OBJ, class CONTAINER>
|
||||
int ICallsignObjectList<OBJ, CONTAINER>::incrementalUpdateOrAdd(const OBJ &objectBeforeChanges, const CPropertyIndexVariantMap &changedValues)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user