mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-24 07:55:35 +08:00
Ref T215, utility functions
* CServer * ICAO List
This commit is contained in:
@@ -152,6 +152,11 @@ namespace BlackMisc
|
||||
return m_timestampMSecsSinceEpoch >= 0;
|
||||
}
|
||||
|
||||
bool CServer::isNull() const
|
||||
{
|
||||
return this->hasUnspecifiedServerType() && !this->hasName() && m_port < 0;
|
||||
}
|
||||
|
||||
CStatusMessageList CServer::validate() const
|
||||
{
|
||||
static const CLogCategoryList cats(CLogCategoryList(this).join({ CLogCategory::validation()}));
|
||||
|
||||
Reference in New Issue
Block a user