Ref T280, definitions for QHash<CCallsign, T> for

* situation
* situation list
* client
* parts
* parts list
* functions to convert standard swift containers into QMap/QHash<CCallign, T>
This commit is contained in:
Klaus Basan
2018-06-12 00:46:42 +02:00
parent 398ca4fb45
commit edde558f29
7 changed files with 98 additions and 18 deletions

View File

@@ -0,0 +1,40 @@
/* Copyright (C) 2018
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
//! \file
#ifndef BLACKMISC_AVIATION_PERCALLSIGN_H
#define BLACKMISC_AVIATION_PERCALLSIGN_H
#include "blackmisc/aviation/callsign.h"
#include "blackmisc/pq/length.h"
#include "blackmisc/statusmessagelist.h"
#include <QHash>
namespace BlackMisc
{
namespace Aviation
{
//! Status message per callsign
using CStatusMessagePerCallsign = QHash<CCallsign, CStatusMessage>;
//! Status messages (list) per callsign
using CStatusMessageListPerCallsign = QHash<CCallsign, CStatusMessageList>;
//! Timestamp der callsign
using CTimestampPerCallsign = QHash<CCallsign, qint64>;
//! Lenght per callsign
using CLengthPerCallsign = QHash<CCallsign, PhysicalQuantities::CLength>;
} // namespace
} // namespace
#endif // guard