Commit 99c8dc0b authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1066 Script applied on all C++ source files.

parent 6562a25e

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
......@@ -24,7 +24,7 @@ class FileHeader():
"""Apply the file header correction on each C++ file within self._directory."""
main_directory_folders = os.listdir(self._directory)
main_directory_folders = [item for item in main_directory_folders if os.path.isdir(os.path.join(self._directory, item))]
main_directory_folders = ("ThirdParty", )
# main_directory_folders = ("Core", )
# Do the same for folders to ignore.
modified_folder_ignore_list = []
......@@ -62,7 +62,12 @@ class FileHeader():
for myfile in files:
file_complete_path = os.path.join(root, myfile)
self.ApplyFileHeader(file_complete_path, group)
# If the file begins by main, skip the group.
if myfile.startswith("main"):
self.ApplyFileHeader(file_complete_path, None)
else:
self.ApplyFileHeader(file_complete_path, group)
def ApplyFileHeader(self, file_complete_path, group_name):
......
//! \file
//
//
// NumberingSubsetForMatrix.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 04/05/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Mon, 4 May 2015 11:34:55 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_CRTP_x_NUMBERING_SUBSET_FOR_MATRIX_HPP_
# define HAPPY_HEART_x_CORE_x_CRTP_x_NUMBERING_SUBSET_FOR_MATRIX_HPP_
......@@ -104,6 +105,9 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
# include "Core/Crtp/NumberingSubsetForMatrix.hxx"
......
//! \file
//
//
// NumberingSubsetForMatrix.hxx
// HappyHeart
//
// Created by Sebastien Gilles on 04/05/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Mon, 4 May 2015 11:34:55 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_CRTP_x_NUMBERING_SUBSET_FOR_MATRIX_HXX_
# define HAPPY_HEART_x_CORE_x_CRTP_x_NUMBERING_SUBSET_FOR_MATRIX_HXX_
......@@ -56,4 +57,7 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_CRTP_x_NUMBERING_SUBSET_FOR_MATRIX_HXX_
......@@ -32,9 +32,3 @@
* Program-wise one is generated in any case.
*/
/*!
* \class doxygen_hide_cplusplus_variadic_args
*
* \param[in] args Variadic arguments (see the forecoming section about it in C++ HappyHeart documentation).
*/
\ No newline at end of file
//! \file
//
//
// HappyHeart.h
// HappyHeart
//
// Created by Sebastien Gilles on 1/22/13.
//
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Tue, 22 Jan 2013 11:55:30 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_HAPPY_HEART_HPP_
# define HAPPY_HEART_x_CORE_x_HAPPY_HEART_HPP_
......@@ -47,4 +48,7 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_HAPPY_HEART_HPP_
//! \file
//
//
// InitHappyHeart.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 21/01/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Wed, 21 Jan 2015 15:50:06 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INIT_HAPPY_HEART_HPP_
# define HAPPY_HEART_x_CORE_x_INIT_HAPPY_HEART_HPP_
......@@ -102,6 +103,9 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
# include "Core/InitHappyHeart.hxx"
......
//! \file
//
//
// InitHappyHeart.hxx
// HappyHeart
//
// Created by Sebastien Gilles on 21/01/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Wed, 21 Jan 2015 15:50:06 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INIT_HAPPY_HEART_HXX_
# define HAPPY_HEART_x_CORE_x_INIT_HAPPY_HEART_HXX_
......@@ -185,4 +186,7 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INIT_HAPPY_HEART_HXX_
//! \file
//
//
// InitTimeKeepLog.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 07/01/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Wed, 7 Jan 2015 14:19:22 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INIT_TIME_KEEP_LOG_HPP_
# define HAPPY_HEART_x_CORE_x_INIT_TIME_KEEP_LOG_HPP_
......@@ -48,6 +49,9 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
# include "Core/InitTimeKeepLog.hxx"
......
//! \file
//
//
// InitTimeKeepLog.hxx
// HappyHeart
//
// Created by Sebastien Gilles on 07/01/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Wed, 7 Jan 2015 14:19:22 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INIT_TIME_KEEP_LOG_HXX_
# define HAPPY_HEART_x_CORE_x_INIT_TIME_KEEP_LOG_HXX_
......@@ -44,4 +45,7 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INIT_TIME_KEEP_LOG_HXX_
//! \file
//
//
// Section.cpp
// HappyHeart
//
// Created by Sebastien Gilles on 17/08/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Mon, 17 Aug 2015 14:08:45 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#include "Core/InputParameter/Crtp/Section.hpp"
......@@ -38,3 +39,6 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
//! \file
//
//
// Section.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 17/08/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Mon, 17 Aug 2015 14:08:45 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_CRTP_x_SECTION_HPP_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_CRTP_x_SECTION_HPP_
......@@ -84,6 +85,9 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
# include "Core/InputParameter/Crtp/Section.hxx"
......
//! \file
//
//
// Section.hxx
// HappyHeart
//
// Created by Sebastien Gilles on 17/08/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Mon, 17 Aug 2015 14:08:45 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_CRTP_x_SECTION_HXX_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_CRTP_x_SECTION_HXX_
......@@ -35,4 +36,7 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_CRTP_x_SECTION_HXX_
//! \file
//
//
// DirichletBoundaryCondition.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 24/09/15.
// Copyright © 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Tue, 24 Mar 2015 11:47:43 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_DIRICHLET_BOUNDARY_CONDITION_HPP_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_DIRICHLET_BOUNDARY_CONDITION_HPP_
......@@ -143,6 +144,9 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
# include "Core/InputParameter/DirichletBoundaryCondition/DirichletBoundaryCondition.hxx"
......
//! \file
//
//
// DirichletBoundaryCondition.hxx
// HappyHeart
//
// Created by Sebastien Gilles on 24/09/15.
// Copyright © 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Thu, 24 Sep 2015 11:23:48 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_DIRICHLET_BOUNDARY_CONDITION_HXX_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_DIRICHLET_BOUNDARY_CONDITION_HXX_
......@@ -41,4 +42,7 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_DIRICHLET_BOUNDARY_CONDITION_HXX_
//! \file
//
//
// DirichletBoundaryCondition.cpp
// HappyHeart
//
// Created by Sebastien Gilles on 24/09/15.
// Copyright © 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Thu, 24 Sep 2015 11:23:48 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#include "Utilities/String/EmptyString.hpp"
......@@ -226,3 +227,6 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
//! \file
//
//
// DirichletBoundaryCondition.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 24/09/15.
// Copyright © 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Thu, 19 Mar 2015 14:48:37 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_IMPL_x_DIRICHLET_BOUNDARY_CONDITION_HPP_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_IMPL_x_DIRICHLET_BOUNDARY_CONDITION_HPP_
......@@ -348,4 +349,7 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_IMPL_x_DIRICHLET_BOUNDARY_CONDITION_HPP_
//! \file
//
//
// FEltSpace.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 24/03/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Tue, 24 Mar 2015 11:47:43 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_F_ELT_SPACE_HPP_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_F_ELT_SPACE_HPP_
......@@ -135,6 +136,9 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
# include "Core/InputParameter/FElt/FEltSpace.hxx"
......
//! \file
//
//
// FEltSpace.hxx
// HappyHeart
//
// Created by Sebastien Gilles on 24/03/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Thu, 19 Feb 2015 14:38:32 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_F_ELT_SPACE_HXX_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_F_ELT_SPACE_HXX_
......@@ -41,4 +42,7 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_F_ELT_SPACE_HXX_
//! \file
//
//
// FEltSpace.cpp
// HappyHeart
//
// Created by Sebastien Gilles on 24/03/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Tue, 24 Mar 2015 11:47:43 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#include "Utilities/String/EmptyString.hpp"
......@@ -178,3 +179,6 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup
//! \file
//
//
// FEltSpace.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 24/03/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Thu, 19 Mar 2015 14:48:37 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_IMPL_x_F_ELT_SPACE_HPP_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_IMPL_x_F_ELT_SPACE_HPP_
......@@ -253,4 +254,7 @@ namespace HappyHeart
} // namespace HappyHeart
/// @} // addtogroup CoreGroup