From fb2a64f86a0dfd76421d4b34e2f6d01cb03a087d Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Thu, 22 Jan 2015 07:36:26 +0100 Subject: [PATCH] [GL] Made GEOObjects::exists protected. --- GeoLib/GEOObjects.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/GeoLib/GEOObjects.h b/GeoLib/GEOObjects.h index e3145782af0..60ae5e2f6c9 100644 --- a/GeoLib/GEOObjects.h +++ b/GeoLib/GEOObjects.h @@ -222,10 +222,6 @@ public: */ const SurfaceVec* getSurfaceVecObj(const std::string &name) const; - /// Returns std::numeric_limits<std::size_t>::max() if no geometry of the - /// given name exists or the index of the geometry in _pnt_vecs otherwise - std::size_t exists(const std::string &geometry_name) const; - /// Returns the names of all geometry vectors. void getGeometryNames (std::vector<std::string>& names) const; @@ -275,6 +271,10 @@ public: virtual ~GEOObjects(); protected: + /// Returns std::numeric_limits<std::size_t>::max() if no geometry of the + /// given name exists or the index of the geometry in _pnt_vecs otherwise + std::size_t exists(const std::string &geometry_name) const; + /// Checks if the point vector with the given name is referenced in a polyline- or surface vector. bool isPntVecUsed (const std::string &name) const; -- GitLab