Files
qt5-legatus-legacy/Lts/Plugins/ParticipantManagement/Gui/Common/participant_dis_helper.h
T
2026-08-13 18:33:10 +02:00

36 lines
891 B
C++
Executable File

/**
* @RDE_HEADER@
* $Id$
* $HeadURL$
* $Author$
* Created by Philipp Last, SLSE, 2017-12-01
*/
#pragma once
#include <Plugins/ParticipantManagement/Gui/Common/ppmcommon_export.h>
#include <QString>
#include <QRegularExpression>
namespace ParticipantManagement
{
namespace DIS
{
PPMCOMMON_EXPORT extern const QRegularExpression gRegExValidDIS;
/*
* MSDL-String: 003001222001246001000
* DIS-Integer: 3001222001246001000
* DIS-String : 3.1.222.1.246.1.0
*/
PPMCOMMON_EXPORT QString convertDISTypeInteger2MSDLString(int64_t distype);
PPMCOMMON_EXPORT QString convertDISTypeInteger2DISString(int64_t distype);
PPMCOMMON_EXPORT int64_t convertDISTypeString2Integer(const QString &strDisType);
PPMCOMMON_EXPORT int64_t convertMSDLString2Integer(const QString &strMSDL, bool *ok = nullptr);
PPMCOMMON_EXPORT QString convertMSDLString2DISString(const QString &strMSDL);
}
}