Formats minimally release source files based on former clang-format
This commit is contained in:
387 files changed
+37323
-38074
No files matched your search
+65
-50
@@ -13,34 +13,39 @@
|
||||
// Forward declarations and stub types for ProjectDataManagement namespace
|
||||
// Used when BUILD_RTI=OFF to allow compilation without RTI Connext DDS
|
||||
|
||||
namespace ProjectDataManagement {
|
||||
namespace ProjectDataManagement
|
||||
{
|
||||
|
||||
// Stub types for RTI IDL-generated classes
|
||||
struct RadioGroup {
|
||||
// Stub types for RTI IDL-generated classes
|
||||
struct RadioGroup
|
||||
{
|
||||
int m_id = 0;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
};
|
||||
};
|
||||
|
||||
struct ChargeType {
|
||||
struct ChargeType
|
||||
{
|
||||
int m_id = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
void properties(const QString &val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct GearClass {
|
||||
struct GearClass
|
||||
{
|
||||
int m_id = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
void properties(const QString &val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct GearType {
|
||||
struct GearType
|
||||
{
|
||||
int m_id = 0;
|
||||
int m_gearClassId = 0;
|
||||
QString m_properties;
|
||||
@@ -49,10 +54,11 @@ struct GearType {
|
||||
int gearClassId() const { return m_gearClassId; }
|
||||
void gearClassId(int val) { m_gearClassId = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
void properties(const QString &val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct GearTypeChargeType {
|
||||
struct GearTypeChargeType
|
||||
{
|
||||
int m_id = 0;
|
||||
int m_gearTypeId = 0;
|
||||
int m_chargeTypeId = 0;
|
||||
@@ -64,64 +70,71 @@ struct GearTypeChargeType {
|
||||
int chargeTypeId() const { return m_chargeTypeId; }
|
||||
void chargeTypeId(int val) { m_chargeTypeId = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
void properties(const QString &val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct BuildingChargeEffect {
|
||||
struct BuildingChargeEffect
|
||||
{
|
||||
int m_id = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
void properties(const QString &val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct VulnerabilityKind {
|
||||
struct VulnerabilityKind
|
||||
{
|
||||
int m_id = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
void properties(const QString &val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct IgniterType {
|
||||
struct IgniterType
|
||||
{
|
||||
int m_id = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
void properties(const QString &val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct LoadType {
|
||||
struct LoadType
|
||||
{
|
||||
int m_id = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
void properties(const QString &val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct CanComponentString {
|
||||
struct CanComponentString
|
||||
{
|
||||
int m_id = 0;
|
||||
QString m_text;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString text() const { return m_text; }
|
||||
void text(const QString& val) { m_text = val; }
|
||||
};
|
||||
void text(const QString &val) { m_text = val; }
|
||||
};
|
||||
|
||||
struct BiteComponentText {
|
||||
struct BiteComponentText
|
||||
{
|
||||
int m_id = 0;
|
||||
QString m_text;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString text() const { return m_text; }
|
||||
void text(const QString& val) { m_text = val; }
|
||||
};
|
||||
void text(const QString &val) { m_text = val; }
|
||||
};
|
||||
|
||||
struct SanitationProcedure {
|
||||
struct SanitationProcedure
|
||||
{
|
||||
int m_id = 0;
|
||||
QString m_name;
|
||||
QString m_longName;
|
||||
@@ -130,15 +143,15 @@ struct SanitationProcedure {
|
||||
int m_minimumQualification = 0;
|
||||
int m_dataCode = 0;
|
||||
QString m_version;
|
||||
|
||||
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString name() const { return m_name; }
|
||||
void name(const QString& val) { m_name = val; }
|
||||
void name(const QString &val) { m_name = val; }
|
||||
QString longName() const { return m_longName; }
|
||||
void longName(const QString& val) { m_longName = val; }
|
||||
void longName(const QString &val) { m_longName = val; }
|
||||
QString type() const { return m_type; }
|
||||
void type(const QString& val) { m_type = val; }
|
||||
void type(const QString &val) { m_type = val; }
|
||||
int typeId() const { return m_typeId; }
|
||||
void typeId(int val) { m_typeId = val; }
|
||||
int minimumQualification() const { return m_minimumQualification; }
|
||||
@@ -146,21 +159,22 @@ struct SanitationProcedure {
|
||||
int dataCode() const { return m_dataCode; }
|
||||
void dataCode(int val) { m_dataCode = val; }
|
||||
QString version() const { return m_version; }
|
||||
void version(const QString& val) { m_version = val; }
|
||||
};
|
||||
void version(const QString &val) { m_version = val; }
|
||||
};
|
||||
|
||||
struct SanitationInjury {
|
||||
struct SanitationInjury
|
||||
{
|
||||
int m_id = 0;
|
||||
QString m_name;
|
||||
int m_kind = 0;
|
||||
int m_place1 = 0;
|
||||
int m_place2 = 0;
|
||||
int m_vbg = 0;
|
||||
|
||||
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString name() const { return m_name; }
|
||||
void name(const QString& val) { m_name = val; }
|
||||
void name(const QString &val) { m_name = val; }
|
||||
int kind() const { return m_kind; }
|
||||
void kind(int val) { m_kind = val; }
|
||||
int place1() const { return m_place1; }
|
||||
@@ -169,13 +183,14 @@ struct SanitationInjury {
|
||||
void place2(int val) { m_place2 = val; }
|
||||
int vbg() const { return m_vbg; }
|
||||
void vbg(int val) { m_vbg = val; }
|
||||
};
|
||||
};
|
||||
|
||||
// Forward declaration for Interface::Dtc
|
||||
namespace Interface {
|
||||
class Dtc;
|
||||
}
|
||||
// Forward declaration for Interface::Dtc
|
||||
namespace Interface
|
||||
{
|
||||
class Dtc;
|
||||
}
|
||||
|
||||
} // namespace ProjectDataManagement
|
||||
|
||||
#endif // PDM_HPP
|
||||
#endif // PDM_HPP
|
||||
+12
-9
@@ -6,16 +6,19 @@
|
||||
|
||||
#include "pdm_enums_stub.hpp"
|
||||
|
||||
namespace pdm {
|
||||
namespace db {
|
||||
namespace pdm
|
||||
{
|
||||
namespace db
|
||||
{
|
||||
|
||||
// Stub class to replace RTI IDL-generated database types
|
||||
class ProjectDatabase {
|
||||
public:
|
||||
virtual ~ProjectDatabase() = default;
|
||||
};
|
||||
// Stub class to replace RTI IDL-generated database types
|
||||
class ProjectDatabase
|
||||
{
|
||||
public:
|
||||
virtual ~ProjectDatabase() = default;
|
||||
};
|
||||
|
||||
} // namespace db
|
||||
} // namespace db
|
||||
} // namespace pdm
|
||||
|
||||
#endif // PDM_DB_STUB_HPP
|
||||
#endif // PDM_DB_STUB_HPP
|
||||
+19
-14
@@ -4,23 +4,28 @@
|
||||
#ifndef PDM_ENUMS_STUB_HPP
|
||||
#define PDM_ENUMS_STUB_HPP
|
||||
|
||||
namespace pdm {
|
||||
namespace enums {
|
||||
namespace pdm
|
||||
{
|
||||
namespace enums
|
||||
{
|
||||
|
||||
// Stub enums to replace RTI IDL-generated types
|
||||
enum class ProjectState : int {
|
||||
Unknown = 0
|
||||
};
|
||||
// Stub enums to replace RTI IDL-generated types
|
||||
enum class ProjectState : int
|
||||
{
|
||||
Unknown = 0
|
||||
};
|
||||
|
||||
enum class ProjectType : int {
|
||||
Unknown = 0
|
||||
};
|
||||
enum class ProjectType : int
|
||||
{
|
||||
Unknown = 0
|
||||
};
|
||||
|
||||
enum class GearClass : int {
|
||||
Unknown = 0
|
||||
};
|
||||
enum class GearClass : int
|
||||
{
|
||||
Unknown = 0
|
||||
};
|
||||
|
||||
} // namespace enums
|
||||
} // namespace enums
|
||||
} // namespace pdm
|
||||
|
||||
#endif // PDM_ENUMS_STUB_HPP
|
||||
#endif // PDM_ENUMS_STUB_HPP
|
||||
+10
-7
@@ -6,17 +6,20 @@
|
||||
|
||||
#include "pdm_enums_stub.hpp"
|
||||
|
||||
namespace pdm {
|
||||
namespace pdm
|
||||
{
|
||||
|
||||
// Stub structs to replace RTI IDL-generated types
|
||||
struct ProjectData {
|
||||
// Stub structs to replace RTI IDL-generated types
|
||||
struct ProjectData
|
||||
{
|
||||
int id = 0;
|
||||
};
|
||||
};
|
||||
|
||||
struct ProjectConfig {
|
||||
struct ProjectConfig
|
||||
{
|
||||
int projectId = 0;
|
||||
};
|
||||
};
|
||||
|
||||
} // namespace pdm
|
||||
|
||||
#endif // PDM_STUB_HPP
|
||||
#endif // PDM_STUB_HPP
|
||||
Reference in new issue
Block a user