text: #ifndef CSLIBS_NDT_2D_SERIALIZATION_STATIC_MAPS_OCCUPANCY_GRIDMAP_HPP
  #define CSLIBS_NDT_2D_SERIALIZATION_STATIC_MAPS_OCCUPANCY_GRIDMAP_HPP
  
  #include <cslibs_ndt_2d/static_maps/occupancy_gridmap.hpp>
  #include <cslibs_ndt/serialization/map.hpp>
  
  namespace cslibs_ndt_2d {
  namespace static_maps {
  
  template <typename T>
  inline bool saveBinary(const typename cslibs_ndt_2d::static_maps::OccupancyGridmap<T>::Ptr &map,
                         const std::string &path)
  {
      return cslibs_ndt::serialization::binary<cslibs_ndt::map::tags::static_map,2,cslibs_ndt::OccupancyDistribution,T>::save(*map, path);
  }
  
  template <typename T>
  inline bool saveBinary(const cslibs_ndt_2d::static_maps::OccupancyGridmap<T> &map,
                         const std::string &path)
  {
      return cslibs_ndt::serialization::binary<cslibs_ndt::map::tags::static_map,2,cslibs_ndt::OccupancyDistribution,T>::save(map, path);
  }
  
  template <typename T>
  inline bool loadBinary(const std::string &path,
                         typename cslibs_ndt_2d::static_maps::OccupancyGridmap<T>::Ptr &map)
  {
      return cslibs_ndt::serialization::binary<cslibs_ndt::map::tags::static_map,2,cslibs_ndt::OccupancyDistribution,T>::load(path, map);
  }
  
  }
  }
  
  #endif // CSLIBS_NDT_2D_SERIALIZATION_STATIC_MAPS_OCCUPANCY_GRIDMAP_HPP
  