Skip to content

Commit

Permalink
moved include-guards to the head of the headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jkriege2 committed Apr 24, 2022
1 parent c6aa942 commit d45083e
Show file tree
Hide file tree
Showing 27 changed files with 85 additions and 83 deletions.
7 changes: 4 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpbarchart.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgraphsbarchart_H
#define jkqtpgraphsbarchart_H


#include <QString>
#include <QPainter>
#include <QPair>
Expand All @@ -27,9 +31,6 @@
#include "jkqtplotter/jkqtpgraphsbaseerrors.h"
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"
#include "jkqtplotter/graphs/jkqtpbarchartbase.h"
#ifndef jkqtpgraphsbarchart_H
#define jkqtpgraphsbarchart_H



/*! \brief This implements a bar graph with bars starting at \f$ yoverride \f$ to \f$ y=f(x) \f$
Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpbarchartbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgraphsbarchartbase_H
#define jkqtpgraphsbarchartbase_H

#include <QString>
#include <QPainter>
#include <QPair>
Expand All @@ -26,9 +29,6 @@
#include "jkqtplotter/jkqtpgraphsbase.h"
#include "jkqtplotter/jkqtpgraphsbaseerrors.h"
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"
#ifndef jkqtpgraphsbarchartbase_H
#define jkqtpgraphsbarchartbase_H



/** \brief This is a base-class for all bar graphs with vertical or horizontal orientation (the orientation is implemented in dervied classes!)
Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpboxplot.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgraphsboxplot_H
#define jkqtpgraphsboxplot_H


#include <QString>
#include <QPainter>
Expand All @@ -29,9 +32,6 @@
#include "jkqtplotter/graphs/jkqtpboxplotstylingmixins.h"
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"

#ifndef jkqtpgraphsboxplot_H
#define jkqtpgraphsboxplot_H




Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpboxplotbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgraphsboxplotbase_H
#define jkqtpgraphsboxplotbase_H


#include <QString>
#include <QPainter>
Expand All @@ -28,9 +31,6 @@
#include "jkqtplotter/graphs/jkqtpboxplotstylingmixins.h"
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"

#ifndef jkqtpgraphsboxplotbase_H
#define jkqtpgraphsboxplotbase_H




Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpboxplotstylingmixins.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
*/


#ifndef jkqtpgraphsboxplotstylingmixins_H
#define jkqtpgraphsboxplotstylingmixins_H

#include <QString>
#include <QPainter>
#include "jkqtplotter/jkqtptools.h"
#include "jkqtplotter/jkqtplotter_imexport.h"
#include "jkqtplotter/jkqtpgraphsbase.h"
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"

#ifndef jkqtpgraphsboxplotstylingmixins_H
#define jkqtpgraphsboxplotstylingmixins_H




Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpevaluatedfunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgraphsevaluatedfunction_H
#define jkqtpgraphsevaluatedfunction_H



#include <QString>
Expand All @@ -29,9 +32,6 @@
#include "jkqtplotter/graphs/jkqtpevaluatedfunctionbase.h"
#include <functional>

#ifndef jkqtpgraphsevaluatedfunction_H
#define jkqtpgraphsevaluatedfunction_H


/** \brief This class extends JKQTPEvaluatedFunctionWithErrorsGraphBase with functions to draw the graphs and
* set the drawing style
Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpevaluatedfunctionbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/


#ifndef jkqtpevaluatedfunctionbase_H
#define jkqtpevaluatedfunctionbase_H


#include <QString>
#include <QPainter>
Expand All @@ -28,9 +31,6 @@
#include "jkqtcommon/jkqtpgeometrytools.h"
#include <functional>

#ifndef jkqtpevaluatedfunctionbase_H
#define jkqtpevaluatedfunctionbase_H




Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpevaluatedparametriccurve.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/


#ifndef jkqtpevaluatedparametriccurve_H
#define jkqtpevaluatedparametriccurve_H


#include <QString>
#include <QPainter>
Expand All @@ -29,9 +32,6 @@
#include "jkqtplotter/graphs/jkqtpevaluatedfunctionbase.h"
#include <functional>

#ifndef jkqtpevaluatedparametriccurve_H
#define jkqtpevaluatedparametriccurve_H


/** \brief Base class for line plots where the data is taken from a user supplied function \f$ [x,y]=f(t) \f$
* The function is evaluated on a user-specified range \f$ t \in \left[t_\text{min}, t_\text{max}\right] \f$
Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpfilledcurve.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgraphsfilledcurve_H
#define jkqtpgraphsfilledcurve_H


#include "jkqtplotter/jkqtplotter_imexport.h"
#include "jkqtplotter/jkqtpgraphsbase.h"
#include "jkqtplotter/jkqtpgraphsbaseerrors.h"
#include "jkqtplotter/graphs/jkqtpspecialline.h"

#ifndef jkqtpgraphsfilledcurve_H
#define jkqtpgraphsfilledcurve_H




Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpgeoannotations.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgeoannotations_H_INCLUDED
#define jkqtpgeoannotations_H_INCLUDED


#include <QString>
#include <QPainter>
Expand All @@ -27,9 +30,6 @@
#include "jkqtplotter/jkqtplotter_imexport.h"
#include "jkqtmathtext/jkqtmathtext.h"

#ifndef jkqtpgeoannotations_H_INCLUDED
#define jkqtpgeoannotations_H_INCLUDED




Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpgeobase.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgeobase_H_INCLUDED
#define jkqtpgeobase_H_INCLUDED


#include <QString>
#include <QPainter>
Expand All @@ -27,9 +30,6 @@
#include "jkqtplotter/jkqtplotter_imexport.h"
#include "jkqtmathtext/jkqtmathtext.h"

#ifndef jkqtpgeobase_H_INCLUDED
#define jkqtpgeobase_H_INCLUDED


/*! \brief This JKQTPGeometricPlotElement is used as base class for geometric drawing
elements that only consist of lines (i.e. no filling of any kind is done)
Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpgeolines.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgeolines_H_INCLUDED
#define jkqtpgeolines_H_INCLUDED


#include <QString>
#include <QPainter>
Expand All @@ -27,9 +30,6 @@
#include "jkqtplotter/jkqtplotter_imexport.h"
#include "jkqtmathtext/jkqtmathtext.h"

#ifndef jkqtpgeolines_H_INCLUDED
#define jkqtpgeolines_H_INCLUDED



/** \brief This JKQTPGeometricPlotElement is used to draw a line, optionally line-end decorations (aka arrows) are pssible, but switched off by default.
Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpgeoshapes.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgeoshapes_H_INCLUDED
#define jkqtpgeoshapes_H_INCLUDED


#include <QString>
#include <QPainter>
Expand All @@ -27,9 +30,6 @@
#include "jkqtplotter/jkqtplotter_imexport.h"
#include "jkqtmathtext/jkqtmathtext.h"

#ifndef jkqtpgeoshapes_H_INCLUDED
#define jkqtpgeoshapes_H_INCLUDED




Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpimpulses.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgraphsimpulses_H
#define jkqtpgraphsimpulses_H

#include "jkqtplotter/jkqtplotter_imexport.h"
#include "jkqtplotter/jkqtpgraphsbase.h"
#include "jkqtplotter/jkqtpgraphsbaseerrors.h"
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"

#ifndef jkqtpgraphsimpulses_H
#define jkqtpgraphsimpulses_H



/** \brief This is a base class for all impulse graphs
Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtppeakstream.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgraphspeakstream_H_INCLUDED
#define jkqtpgraphspeakstream_H_INCLUDED



#include <QString>
Expand All @@ -25,9 +28,6 @@
#include "jkqtplotter/jkqtpgraphsbase.h"
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"

#ifndef jkqtpgraphspeakstream_H_INCLUDED
#define jkqtpgraphspeakstream_H_INCLUDED

// forward declarations
class JKQTBasePlotter;
class JKQTPlotter;
Expand Down
4 changes: 2 additions & 2 deletions lib/jkqtplotter/graphs/jkqtprange.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
You should have received a copy of the GNU Lesser General Public License (LGPL)
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef jkqtpgraphsrange_H
#define jkqtpgraphsrange_H


#include <QString>
Expand All @@ -28,8 +30,6 @@
#include "jkqtcommon/jkqtpenhancedpainter.h"
#include "jkqtplotter/jkqtpgraphsbaseerrors.h"
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"
#ifndef jkqtpgraphsrange_H
#define jkqtpgraphsrange_H

// forward declarations
class JKQTBasePlotter;
Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpscatter.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgraphs_H
#define jkqtpgraphs_H


#include <QString>
#include <QPainter>
Expand All @@ -31,9 +34,6 @@
#include "jkqtplotter/graphs/jkqtprange.h"
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"

#ifndef jkqtpgraphs_H
#define jkqtpgraphs_H

// forward declarations
class JKQTBasePlotter;
class JKQTPlotter;
Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpsinglecolumnsymbols.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
*/


#ifndef jkqtpgraphssinglecolumnsymbols_H_INCLUDED
#define jkqtpgraphssinglecolumnsymbols_H_INCLUDED


#include <QString>
#include <QPainter>
#include <QPair>
#include "jkqtplotter/jkqtpgraphsbase.h"
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"

#ifndef jkqtpgraphssinglecolumnsymbols_H_INCLUDED
#define jkqtpgraphssinglecolumnsymbols_H_INCLUDED



/*! \brief plots a 1-column set of data-values with symbols onto a JKQtPlotter/JKQtBasePlotter. the data from the single column
Expand Down
6 changes: 3 additions & 3 deletions lib/jkqtplotter/graphs/jkqtpspecialline.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef jkqtpgraphsspecialline_H
#define jkqtpgraphsspecialline_H


#include <QString>
#include <QPainter>
Expand All @@ -30,9 +33,6 @@
#include "jkqtplotter/graphs/jkqtprange.h"
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"

#ifndef jkqtpgraphsspecialline_H
#define jkqtpgraphsspecialline_H

// forward declarations
class JKQTBasePlotter;
class JKQTPlotter;
Expand Down
8 changes: 4 additions & 4 deletions lib/jkqtplotter/graphs/jkqtpstatisticsadaptors.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef JKQTPGRAPHSSTATISTICSADAPTORS_H_INCLUDED
#define JKQTPGRAPHSSTATISTICSADAPTORS_H_INCLUDED



#include "jkqtplotter/jkqtplotter_imexport.h"
#include "jkqtcommon/jkqtpstatisticstools.h"
Expand All @@ -34,10 +38,6 @@
#include "jkqtplotter/graphs/jkqtpfilledcurve.h"
#include "jkqtplotter/graphs/jkqtpviolinplot.h"


#ifndef JKQTPGRAPHSSTATISTICSADAPTORS_H_INCLUDED
#define JKQTPGRAPHSSTATISTICSADAPTORS_H_INCLUDED

/*! \brief add a JKQTPBoxplotHorizontalElement to the given plotter, where the boxplot values are calculated from the data range \a first ... \a last
\ingroup jkqtptools_math_statistics_adaptors
Expand Down
Loading

0 comments on commit d45083e

Please sign in to comment.