Formats minimally release source files based on former clang-format

This commit is contained in:
torsten committed 2026-10-14 13:28:01 +00:00
1 parent b662e4daf9
commit 5644914fe3
387 files changed
+37323 -38074

No files matched your search

@@ -10,7 +10,7 @@
// $LastChangedRevision$
//
// **************************************************************************
#pragma once
#include <QtCore/QString>
@@ -37,7 +37,6 @@ namespace N_LogView
class LogViewXdrParser : public N_SST::IntegerCalculator
{
public:
/**
* Defines in which structure the parser is parsing now
*
@@ -62,7 +61,7 @@ namespace N_LogView
*
* @param a_fileName
*/
void parseX_File(const QString& a_fileName);
void parseX_File(const QString &a_fileName);
/**
* This function delivers the name of the telegram.
@@ -89,16 +88,15 @@ namespace N_LogView
* @param a_name
* @param a_value
*/
bool getDefine(const QString& a_name, int64_t& a_value) const;
bool getDefine(const QString &a_name, int64_t &a_value) const;
/**
*
* @param a_name
*/
const LogViewXdrElement* getElement(const QString& a_name) const;
const LogViewXdrElement *getElement(const QString &a_name) const;
protected:
QString m_MessageBoxTitle;
bool m_WithinComment;
QString m_Line;
@@ -112,7 +110,7 @@ namespace N_LogView
* telegram structure.
*/
QString m_UnionType;
std::map<QString, LogViewXdrElement*> m_ElementMap;
std::map<QString, LogViewXdrElement *> m_ElementMap;
LogViewXdrStruct *m_ActElement;
@@ -131,7 +129,7 @@ namespace N_LogView
* @param a_dynArraySizeMethod
* @param a_byteOrder
*/
void addStandardType(const QString& a_name,
void addStandardType(const QString &a_name,
const uint16_t a_dataSize,
const uint16_t a_realSize,
const LogViewXdrStandardType::E_ValueKind a_kind,
@@ -142,7 +140,7 @@ namespace N_LogView
*
* @param a_line
*/
QString removeComments(const QString& a_line);
QString removeComments(const QString &a_line);
/**
*
@@ -173,7 +171,7 @@ namespace N_LogView
*
* @param a_line
*/
void parseUnion(const QString& a_line);
void parseUnion(const QString &a_line);
/**
*
@@ -181,7 +179,7 @@ namespace N_LogView
* @param a_name
* @param a_value
*/
bool parseEnumLine(const QString& a_line, QString& a_name, QString& a_value) const;
bool parseEnumLine(const QString &a_line, QString &a_name, QString &a_value) const;
/**
* Shows an error-message containing the line-nbr, the line itself and an
@@ -189,21 +187,21 @@ namespace N_LogView
*
* @param a_errorText
*/
void showErrorMessage(const QString& a_errorText) const;
void showErrorMessage(const QString &a_errorText) const;
/**
*
* @param a_calcText
* @param a_isOk
*/
int64_t calcValue(const QString& a_calcText, bool& a_isOk);
int64_t calcValue(const QString &a_calcText, bool &a_isOk);
/**
*
* @param a_variableName
* @param a_value
*/
bool getVariableValue(const std::string& a_variableName, int64_t& a_value) const override;
bool getVariableValue(const std::string &a_variableName, int64_t &a_value) const override;
/**
*
@@ -212,7 +210,7 @@ namespace N_LogView
* e_DynArrayMsgLength. Here the value in <x> will be subtracted from the message-
* length to get the size of the dynamic array.
*/
uint16_t parseArray(QString& a_name, uint16_t& a_dynArrayMsgOffset) const;
uint16_t parseArray(QString &a_name, uint16_t &a_dynArrayMsgOffset) const;
/**
*
@@ -225,7 +223,7 @@ namespace N_LogView
*
* @param a_line
*/
void fillWordList(const QString& a_line);
void fillWordList(const QString &a_line);
/**
*
@@ -237,13 +235,13 @@ namespace N_LogView
*
* @param a_ok
*/
QString getNextType(bool& a_ok);
QString getNextType(bool &a_ok);
/**
*
* @param a_enumStruct
*/
QString getNextEnum(const LogViewXdrStruct*& a_enumStruct);
QString getNextEnum(const LogViewXdrStruct *&a_enumStruct);
/**
*
@@ -251,7 +249,7 @@ namespace N_LogView
* @param a_firstBit
* @param a_lastBit
*/
bool parseBitfield(const QString& a_fieldText, int16_t& a_firstBit, int16_t& a_lastBit) const;
bool parseBitfield(const QString &a_fieldText, int16_t &a_firstBit, int16_t &a_lastBit) const;
/**
* adds an element to the element-map if it does not already exist within this map.
@@ -262,7 +260,7 @@ namespace N_LogView
* @param a_name
* @param a_element
*/
bool addToElementMap(const QString& a_name, LogViewXdrElement* a_element);
bool addToElementMap(const QString &a_name, LogViewXdrElement *a_element);
private:
LOGGER_T m_logger;