Skip to content
Snippets Groups Projects
Commit fb2a64f8 authored by Tom Fischer's avatar Tom Fischer
Browse files

[GL] Made GEOObjects::exists protected.

parent b3daf657
No related branches found
No related tags found
No related merge requests found
...@@ -222,10 +222,6 @@ public: ...@@ -222,10 +222,6 @@ public:
*/ */
const SurfaceVec* getSurfaceVecObj(const std::string &name) const; 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. /// Returns the names of all geometry vectors.
void getGeometryNames (std::vector<std::string>& names) const; void getGeometryNames (std::vector<std::string>& names) const;
...@@ -275,6 +271,10 @@ public: ...@@ -275,6 +271,10 @@ public:
virtual ~GEOObjects(); virtual ~GEOObjects();
protected: 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. /// Checks if the point vector with the given name is referenced in a polyline- or surface vector.
bool isPntVecUsed (const std::string &name) const; bool isPntVecUsed (const std::string &name) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment