|
[yoda-svn] yoda: adding Ptr type to scatters.YODA Mercurial yoda at projects.hepforge.orgWed Sep 6 11:15:01 BST 2017
details: https://yoda.hepforge.org/hg/yoda/rev/9a33afee04ee branches: multiweight changeset: 1386:9a33afee04ee user: Chris Pollard <cspollard at gmail.com> date: Fri Aug 25 17:16:08 2017 +0200 description: adding Ptr type to scatters. diffs (truncated from 72 to 50 lines): --- a/include/YODA/Scatter1D.h Thu Oct 27 11:27:53 2016 +0100 +++ b/include/YODA/Scatter1D.h Fri Aug 25 17:16:08 2017 +0200 @@ -10,6 +10,7 @@ #include "YODA/Point1D.h" #include "YODA/Utils/sortedvector.h" #include <utility> +#include <memory> namespace YODA { @@ -25,6 +26,7 @@ /// Type of the native Point1D collection typedef Point1D Point; typedef Utils::sortedvector<Point1D> Points; + typedef std::shared_ptr<Scatter1D> Ptr; /// @name Constructors --- a/include/YODA/Scatter2D.h Thu Oct 27 11:27:53 2016 +0100 +++ b/include/YODA/Scatter2D.h Fri Aug 25 17:16:08 2017 +0200 @@ -10,6 +10,7 @@ #include "YODA/Point2D.h" #include "YODA/Utils/sortedvector.h" #include <utility> +#include <memory> namespace YODA { @@ -26,6 +27,7 @@ /// Type of the native Point2D collection typedef Point2D Point; typedef Utils::sortedvector<Point2D> Points; + typedef std::shared_ptr<Scatter2D> Ptr; /// @name Constructors --- a/include/YODA/Scatter3D.h Thu Oct 27 11:27:53 2016 +0100 +++ b/include/YODA/Scatter3D.h Fri Aug 25 17:16:08 2017 +0200 @@ -10,6 +10,7 @@ #include "YODA/Point3D.h" #include "YODA/Utils/sortedvector.h" #include <utility> +#include <memory> namespace YODA { @@ -26,6 +27,7 @@ /// Types of the native Point3D collection typedef Point3D Point; typedef Utils::sortedvector<Point3D> Points;
More information about the yoda-svn mailing list |