Skip to content
Snippets Groups Projects
Commit 8329c1f1 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[IO] Correct constness in BoostXmlGmlInterface.

parent d49d4e5b
No related branches found
No related tags found
No related merge requests found
......@@ -151,12 +151,12 @@ void BoostXmlGmlInterface::readPoints(BaseLib::ConfigTree const& pointsRoot,
}
}
void BoostXmlGmlInterface::readPolylines(BaseLib::ConfigTree const& polylinesRoot,
std::vector<GeoLib::Polyline*>* polylines,
std::vector<GeoLib::Point*>* points,
const std::vector<std::size_t> &pnt_id_map,
std::map<std::string, std::size_t>* &ply_names )
void BoostXmlGmlInterface::readPolylines(
BaseLib::ConfigTree const& polylinesRoot,
std::vector<GeoLib::Polyline*>* polylines,
std::vector<GeoLib::Point*> const* points,
const std::vector<std::size_t>& pnt_id_map,
std::map<std::string, std::size_t>*& ply_names)
{
BOOST_FOREACH( BaseLib::ConfigTree::value_type const & polyline, polylinesRoot )
{
......@@ -203,11 +203,12 @@ void BoostXmlGmlInterface::readPolylines(BaseLib::ConfigTree const& polylinesRo
}
}
void BoostXmlGmlInterface::readSurfaces(BaseLib::ConfigTree const& surfacesRoot,
std::vector<GeoLib::Surface*>* surfaces,
std::vector<GeoLib::Point*>* points,
const std::vector<std::size_t> &pnt_id_map,
std::map<std::string, std::size_t>* &sfc_names )
void BoostXmlGmlInterface::readSurfaces(
BaseLib::ConfigTree const& surfacesRoot,
std::vector<GeoLib::Surface*>* surfaces,
std::vector<GeoLib::Point*> const* points,
const std::vector<std::size_t>& pnt_id_map,
std::map<std::string, std::size_t>*& sfc_names)
{
BOOST_FOREACH( BaseLib::ConfigTree::value_type const & surface, surfacesRoot )
{
......
......@@ -56,17 +56,17 @@ private:
/// Reads GeoLib::Polyline-objects from an xml-file
void readPolylines ( BaseLib::ConfigTree const& polylinesRoot,
std::vector<GeoLib::Polyline*>* polylines,
std::vector<GeoLib::Point*>* points,
const std::vector<std::size_t> &pnt_id_map,
std::map<std::string, std::size_t>* &ply_names );
std::vector<GeoLib::Polyline*>* polylines,
std::vector<GeoLib::Point*> const* points,
const std::vector<std::size_t>& pnt_id_map,
std::map<std::string, std::size_t>*& ply_names);
/// Reads GeoLib::Surface-objects from an xml-file
void readSurfaces ( BaseLib::ConfigTree const& surfacesRoot,
std::vector<GeoLib::Surface*>* surfaces,
std::vector<GeoLib::Point*>* points,
const std::vector<std::size_t> &pnt_id_map,
std::map<std::string, std::size_t>* &sfc_names );
std::vector<GeoLib::Surface*>* surfaces,
std::vector<GeoLib::Point*> const* points,
const std::vector<std::size_t>& pnt_id_map,
std::map<std::string, std::size_t>*& sfc_names);
/// Check if the root node really specifies an GML file
bool isGmlFile( BaseLib::ConfigTree const& root) 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