pragma once (#27)

Co-authored-by: Dan Warner <info@danrw.com>
feature/rm-travis
Daniel Warner 2022-11-13 11:33:05 +00:00 committed by GitHub
parent 835e40a5e6
commit dd1ced0ce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 17 additions and 65 deletions

View File

@ -15,8 +15,7 @@
*/ */
#ifndef COORDGEODETIC_H_ #pragma once
#define COORDGEODETIC_H_
#include "Util.h" #include "Util.h"
@ -130,5 +129,3 @@ inline std::ostream& operator<<(std::ostream& strm, const CoordGeodetic& g)
} }
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef COORDTOPOCENTRIC_H_ #pragma once
#define COORDTOPOCENTRIC_H_
#include "Util.h" #include "Util.h"
@ -127,5 +126,3 @@ inline std::ostream& operator<<(std::ostream& strm, const CoordTopocentric& t)
} }
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef DATETIME_H_ #pragma once
#define DATETIME_H_
#include <iomanip> #include <iomanip>
#include <iostream> #include <iostream>
@ -720,5 +719,3 @@ inline bool operator<=(const DateTime& dt1, const DateTime& dt2)
} }
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef DECAYEDEXCEPTION_H_ #pragma once
#define DECAYEDEXCEPTION_H_
#include "DateTime.h" #include "DateTime.h"
#include "Vector.h" #include "Vector.h"
@ -78,5 +77,3 @@ private:
}; };
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef ECI_H_ #pragma once
#define ECI_H_
#include "CoordGeodetic.h" #include "CoordGeodetic.h"
#include "Vector.h" #include "Vector.h"
@ -145,5 +144,3 @@ private:
}; };
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef GLOBALS_H_ #pragma once
#define GLOBALS_H_
#include <cmath> #include <cmath>
@ -76,5 +75,3 @@ const double kHOURS_PER_DAY = 24.0;
const double kA3OVK2 = -kXJ3 / kCK2 * kAE * kAE * kAE; const double kA3OVK2 = -kXJ3 / kCK2 * kAE * kAE * kAE;
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef OBSERVER_H_ #pragma once
#define OBSERVER_H_
#include "CoordGeodetic.h" #include "CoordGeodetic.h"
#include "Eci.h" #include "Eci.h"
@ -102,5 +101,3 @@ private:
}; };
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef ORBITALELEMENTS_H_ #pragma once
#define ORBITALELEMENTS_H_
#include "Util.h" #include "Util.h"
#include "DateTime.h" #include "DateTime.h"
@ -146,5 +145,3 @@ private:
}; };
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef SGP4_H_ #pragma once
#define SGP4_H_
#include "Tle.h" #include "Tle.h"
#include "OrbitalElements.h" #include "OrbitalElements.h"
@ -259,5 +258,3 @@ private:
}; };
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef SATELLITEEXCEPTION_H_ #pragma once
#define SATELLITEEXCEPTION_H_
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
@ -37,5 +36,3 @@ public:
}; };
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef SOLARPOSITION_H_ #pragma once
#define SOLARPOSITION_H_
#include "DateTime.h" #include "DateTime.h"
#include "Eci.h" #include "Eci.h"
@ -41,5 +40,3 @@ private:
}; };
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef TIMESPAN_H_ #pragma once
#define TIMESPAN_H_
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
@ -258,5 +257,3 @@ inline bool operator<=(const TimeSpan& ts1, const TimeSpan& ts2)
} }
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef TLE_H_ #pragma once
#define TLE_H_
#include "Util.h" #include "Util.h"
#include "DateTime.h" #include "DateTime.h"
@ -343,5 +342,3 @@ inline std::ostream& operator<<(std::ostream& strm, const Tle& t)
} }
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef TLEEXCEPTION_H_ #pragma once
#define TLEEXCEPTION_H_
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
@ -43,5 +42,3 @@ public:
}; };
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef UTIL_H_ #pragma once
#define UTIL_H_
#include "Globals.h" #include "Globals.h"
@ -110,5 +109,3 @@ namespace Util
} // namespace Util } // namespace Util
} // namespace libsgp4 } // namespace libsgp4
#endif

View File

@ -15,8 +15,7 @@
*/ */
#ifndef VECTOR_H_ #pragma once
#define VECTOR_H_
#include <cmath> #include <cmath>
#include <string> #include <string>
@ -162,5 +161,3 @@ inline std::ostream& operator<<(std::ostream& strm, const Vector& v)
} }
} // namespace libsgp4 } // namespace libsgp4
#endif