Skip to content

Commit

Permalink
Merge pull request #201 from asam-ev/ivex/tung/update-license-header
Browse files Browse the repository at this point in the history
Add copyright, license header and SPDX-License-Identifier
  • Loading branch information
andreaskern74 authored Oct 31, 2024
2 parents 232f0ee + 204a785 commit b58fb49
Show file tree
Hide file tree
Showing 118 changed files with 235 additions and 42 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2023 CARIAD SE.
# Copyright 2024 ASAM e.V.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2023 CARIAD SE.
# Copyright 2024 ASAM e.V.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
3 changes: 3 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Mozilla Public License Version 2.0
==================================

Copyright (C) 2023 CARIAD SE
Copyright (C) 2024 ASAM e.V.

1. Definitions
--------------

Expand Down
1 change: 1 addition & 0 deletions demo_pipeline/configuration_generator.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2024, ASAM e.V.
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions demo_pipeline/run_pipeline.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2024, ASAM e.V.
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions doc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2023 CARIAD SE.
# Copyright 2024 ASAM e.V.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions doc/schema/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2023 CARIAD SE.
# Copyright 2024 ASAM e.V.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions docker/test_runtime.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2024, ASAM e.V.
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2023 CARIAD SE.
# Copyright 2024 ASAM e.V.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions examples/checker_bundle_example/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2023 CARIAD SE.
# Copyright 2024 ASAM e.V.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions examples/checker_bundle_example/src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/*
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions examples/checker_bundle_example/src/main.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/*
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions examples/checker_bundle_example/src/stdafx.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/*
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions examples/checker_bundle_example/src/stdafx.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/*
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions examples/esmini_viewer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2023 CARIAD SE.
# Copyright 2024 ASAM e.V.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions examples/esmini_viewer/esmini_viewer.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2024, ASAM e.V.
*
Expand Down
1 change: 1 addition & 0 deletions examples/esmini_viewer/xml_util.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2024, ASAM e.V.
*
Expand Down
2 changes: 2 additions & 0 deletions examples/viewer_example/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2023 CARIAD SE.
# Copyright 2024 ASAM e.V.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions examples/viewer_example/viewer_example.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/*
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/config_format/c_configuration.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/config_format/c_configuration_checker.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/config_format/c_configuration_checker_bundle.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/config_format/c_configuration_report_module.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/qc4openx_filesystem.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/result_format/c_checker.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/result_format/c_checker_bundle.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions include/common/result_format/c_domain_specific_info.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2024, ASAM e.V.
*
Expand Down
2 changes: 2 additions & 0 deletions include/common/result_format/c_extended_information.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/result_format/c_file_location.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
7 changes: 3 additions & 4 deletions include/common/result_format/c_inertial_location.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down Expand Up @@ -32,8 +34,7 @@ class cInertialLocation : public cExtendedInformation
* \param z: Z of the position in inertial coordinate system
* \param description: Additional description
*/
cInertialLocation(double x, double y, double z)
: cExtendedInformation("InertialLocation"), m_X(x), m_Y(y), m_Z(z)
cInertialLocation(double x, double y, double z) : cExtendedInformation("InertialLocation"), m_X(x), m_Y(y), m_Z(z)
{
}

Expand All @@ -53,8 +54,6 @@ class cInertialLocation : public cExtendedInformation
// Returns the Z
double GetZ() const;



protected:
double m_X, m_Y, m_Z;

Expand Down
2 changes: 2 additions & 0 deletions include/common/result_format/c_issue.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/result_format/c_locations_container.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions include/common/result_format/c_metadata.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2024, ASAM e.V.
*
Expand Down
2 changes: 2 additions & 0 deletions include/common/result_format/c_parameter_container.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/result_format/c_result_container.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions include/common/result_format/c_rule.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2024, ASAM e.V.
*
Expand Down
2 changes: 2 additions & 0 deletions include/common/result_format/c_xml_location.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/result_format/i_result.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/util.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/xml/c_x_path_evaluator.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/common/xml/util_xerces.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions include/viewer/i_connector.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
/**
* Copyright 2023 CARIAD SE.
* Copyright 2024 ASAM e.V.
*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions qc_framework/qc_framework/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2024, ASAM e.V.
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions qc_framework/qc_framework/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2024, ASAM e.V.
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions qc_framework/qc_framework/runtime/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2024, ASAM e.V.
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions qc_framework/qc_framework/runtime/models.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2024, ASAM e.V.
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions qc_framework/qc_framework/runtime/runtime.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2024, ASAM e.V.
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions qc_framework/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2024, ASAM e.V.
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions qc_framework/tests/test_runtime.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2024, ASAM e.V.
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions scripts/cmake/qc4openx-config.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright 2023 CARIAD SE.
# Copyright 2024 ASAM e.V.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
1 change: 1 addition & 0 deletions scripts/cmake/qt_macros.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright 2023 CARIAD SE.
# Copyright 2024 ASAM e.V.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2023 CARIAD SE.
# Copyright 2024 ASAM e.V.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
2 changes: 2 additions & 0 deletions src/common/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: MPL-2.0
# Copyright 2023 CARIAD SE.
# Copyright 2024 ASAM e.V.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
Expand Down
Loading

0 comments on commit b58fb49

Please sign in to comment.